On Mon, 2002-06-24 at 18:10, Carl Spalletta wrote: > SITUATION: > > For certain reasons, I replaced my swap partition hda6 with > a swapfile. I then changed the partition type of hda6 to > Linux instead of 'Linux Swap'.I ran mke2fs on hda6. Now I > have a 70M filesys. I revised the /etc/fstab entry for hda6 > to type 'ext2'. It mounts without any problems. > > QUESTIONS (in order of priority): > > 1) What is the minimal set of files I need to boot single-user > off hda6 (with 'root=hda6') from the grub command line? See the Bootdisk-HOWTO or http://www.linuxfromscratch.org > I don't mean grub config files, I mean 'vmlinuz', and what else? > > 2) In order to boot off hda6 (I am getting my bootloader > off a floppy) do I have to make hda6 'bootable' in the > partition table? Nope. > 3) Will making 'hda6' bootable override or toggle the bootable > status of my original root partition 'hda5' (Both are ext2) ? > I believe the answer to be 'no' but I would like to be sure. Nope. > 4) What is the best way to save a partition table beside the > following (from the sfdisk man page): > > -I file > After destroying your filesystems with an unfortu > nate sfdisk command, you would have been able to > restore the old situation if only you had preserved > it using the -O flag. I've never used sfdisk -- sorry. > No, this hasn't happened to me.. > The above only works when 'sfdisk' is used to make the > changes and I prefer using something less powerful than > 'sfdisk'. > > 5) Finally consider the following: > > $sfdisk --list | grep hda'[25]' > Device Boot Start End #cyls #blocks Id System > /dev/hda2 3 2481 2479 19912567+ 5 Extended > /dev/hda5 3+ 2472 2470- 19840243+ 83 Linux > > Why does hda2 begin 9 cyls later than hda5, overlap almost all > of hda5 and end 9 cyls earlier? I'd guess, that the extended partition needs some space to store the information about the partitions in it. > Do You Yahoo!? Nope. Regards Frank -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/