Does puppy write to NTFS system disk without asking?[Solved]

Using applications, configuring, problems
Message
Author
User avatar
Flash
Official Dog Handler
Posts: 13071
Joined: Wed 04 May 2005, 16:04
Location: Arizona USA

#21 Post by Flash »

My guess is that most people using Puppy for the first time have no idea what a swap partition or file is. If Puppy asked them about it during bootup, they would freak out and possibly flood the forum with questions. Rather than have to calm each of them individually and explain what swap memory is and why they needed it, perhaps Barry just figured it would be better for everyone if Puppy just went ahead and created a swap file if Puppy couldn't find at least 256 MB of RAM. As far as I know, Puppy automatically creating a swap file never caused any problem - except for the number of people who became alarmed that Puppy was creating a swap file on their HDD without asking. :)

User avatar
Béèm
Posts: 11763
Joined: Wed 22 Nov 2006, 00:47
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

#22 Post by Béèm »

I can indeed imagine that that's the reasoning behind Barry's decision I am sure somewhere on his blog he did write about it.

However I still have seen recently postings of people with low ram (<256MB) who didn't have a swap file/partition created automatically.
Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
[url=http://puppylinux.org/wikka/HomePage]Consult Wikka[/url]
Use peppyy's [url=http://wellminded.com/puppy/pupsearch.html]puppysearch[/url]

carolus
Posts: 128
Joined: Wed 14 Feb 2007, 21:54

#23 Post by carolus »

Barry has been on both sides of this fence in the past and so must have given it some thought.

All three of my computers, from different manufacturers, have OEM Windows installed not on the first partition, but on the second. The first partition contains stuff from the manufacturer. On the two laptops, the hidden partition includes a backup of the originally installed software, activated by a key combination that wipes the hard drive and reinstalls the factory configuration including all the crapware. On my 8-year old Dell desktop, which came with a full set of backup software on CD's, I have no idea what is in Dell's hidden partition or whether it is necessary or useful.

What happens if linux software tries to write to one of those drives and chooses the first partition?

User avatar
Béèm
Posts: 11763
Joined: Wed 22 Nov 2006, 00:47
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

#24 Post by Béèm »

On the different PC's I got, the first partition always contained the Windows installation in ntfs. The second partition (vfat) contained the necessary files to restore to the factory install.

You have very funny factory installed systems.
Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
[url=http://puppylinux.org/wikka/HomePage]Consult Wikka[/url]
Use peppyy's [url=http://wellminded.com/puppy/pupsearch.html]puppysearch[/url]

carolus
Posts: 128
Joined: Wed 14 Feb 2007, 21:54

#25 Post by carolus »

Beem wrote:
"You have very funny factory installed systems."
If so, it is all the more reason not to want anything monkeying with the system disk without permission.

On two of these computers I am currently booting puppy with grub4dos configured to boot from the second partition. Dell, Sony, and Asus have all reserved and hidden the first partition. Using grub4dos allowed me to add Puppy to the boot menu without touching my system disk with anything but Windows.

User avatar
Béèm
Posts: 11763
Joined: Wed 22 Nov 2006, 00:47
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

#26 Post by Béèm »

I still don't understand your setup.
You have already monkeyed yourself by installing grub4dos.
You say it is configured to boot from partition 2 which contains the Windows install.
Where is puppy then?
Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
[url=http://puppylinux.org/wikka/HomePage]Consult Wikka[/url]
Use peppyy's [url=http://wellminded.com/puppy/pupsearch.html]puppysearch[/url]

carolus
Posts: 128
Joined: Wed 14 Feb 2007, 21:54

#27 Post by carolus »

Béèm wrote:I still don't understand your setup.
You have already monkeyed yourself by installing grub4dos.
You say it is configured to boot from partition 2 which contains the Windows install.
Where is puppy then?
As described in:

http://www.murga-linux.com/puppy/viewto ... 3861#13861

I had to modify the sample menu.lst to refer to the second partition rather than the first.

Puppy is on a USB flash drive. The Windows bootloader chains to grub4dos which then loads vmlinuz and initrd. (Neither of my older computers can boot directly from USB.) All operations on the NTFS system disk were performed using Windows software (i.e., file copying and editing boot.ini).

User avatar
Béèm
Posts: 11763
Joined: Wed 22 Nov 2006, 00:47
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

#28 Post by Béèm »

In the post you reference Windows is at the first partition not the second.

In any case, your question is answered.
You know now that puppy in certain circumstances writes without asking.
Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
[url=http://puppylinux.org/wikka/HomePage]Consult Wikka[/url]
Use peppyy's [url=http://wellminded.com/puppy/pupsearch.html]puppysearch[/url]

carolus
Posts: 128
Joined: Wed 14 Feb 2007, 21:54

#29 Post by carolus »

Béèm wrote:In the post you reference Windows is at the first partition not the second.
Yes, so I had to change that. I've noticed elsewhere (maybe unetbootin) that Windows was assumed to be on the first partition. But that is not true for my 3 machines from different manufacturers.
In any case, your question is answered.
You know now that puppy in certain circumstances writes without asking.
Yes. I've marked the thread "solved." Thanks to you and to linuxsansdisquedur for showing me where to find the relevant code.

I only hope that linuxsansdisquedur is not sans his disque dur because his puppy had an accident.

User avatar
Béèm
Posts: 11763
Joined: Wed 22 Nov 2006, 00:47
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

#30 Post by Béèm »

I have learned also something about the automatic creation of a swa file/partition.
Hope you get along further with Puppy.

Ans as said, you can always PM Barry Kauler. He s not a bad guy.
Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
[url=http://puppylinux.org/wikka/HomePage]Consult Wikka[/url]
Use peppyy's [url=http://wellminded.com/puppy/pupsearch.html]puppysearch[/url]

ICPUG
Posts: 1308
Joined: Mon 25 Jul 2005, 00:09
Location: UK

#31 Post by ICPUG »

Just thought I'd add some info about Windows and which partition it is on.

When Windows XP is installed as an OEM it it usually installed on the first partition. My laptop of a few years ago had its recovery files on a FAT partition on the 3rd partition (of 3), which was not hidden.

It seems, more recently, that manufacturers have taken to putting recovery files on a hidden partition 1, making the Windows partition partition 2. This happened with my sister's PC. I wonder if Microsoft introduced this with one of the XP service packs. It is hard to understand why manufacturers would implement this weird process but very easy to understand why Microsoft would introduce it to obfuscate things and make it difficult for other OS to coexist with it.

Windows 7 standard install process creates a hidden partition 1, which is used when you need the recovery console. This means you don't need an install CD if you have only borked your Windows partition and not the hard disk. Windows 7 is installed on partition 2. It is possible, but difficult, to get round this problem but you have to know at install time and my local PC shop certainly made no effort to avoid it. So Windows 7 takes away 2 (of the 4 possible) primary partitions for its own use. Anyone would think Windows owns the hard disk!

This means that, in future, systems like Carolus has are more likely to be the norm than the exception.

User avatar
Béèm
Posts: 11763
Joined: Wed 22 Nov 2006, 00:47
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

#32 Post by Béèm »

ICPUG wrote:This means that, in future, systems like Carolus has are more likely to be the norm than the exception.
Thanks, didn't know this. I kept stuck several years ago with XP.
Good to know.
Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
[url=http://puppylinux.org/wikka/HomePage]Consult Wikka[/url]
Use peppyy's [url=http://wellminded.com/puppy/pupsearch.html]puppysearch[/url]

carolus
Posts: 128
Joined: Wed 14 Feb 2007, 21:54

#33 Post by carolus »

Béèm wrote:
ICPUG wrote:This means that, in future, systems like Carolus has are more likely to be the norm than the exception.
Thanks, didn't know this. I kept stuck several years ago with XP.
Good to know.
This is hardly a new phenomenon. My 2003 Dell desktop and 2006 Sony laptop both have OEM Windows XP on the second partition, with the first partition hidden and reserved for the manufacturer.

User avatar
Béèm
Posts: 11763
Joined: Wed 22 Nov 2006, 00:47
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

#34 Post by Béèm »

My 3 1/2 year old desktop had windows on the 1e partition and the recovery one fat one as ICPUG describes.

My laptop is the same, tho older.

Other PC's I have seen were the same also.
Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
[url=http://puppylinux.org/wikka/HomePage]Consult Wikka[/url]
Use peppyy's [url=http://wellminded.com/puppy/pupsearch.html]puppysearch[/url]

Post Reply