Dave Howorth said the following on 03/02/2010 09:35 AM:
...
If I use the Custom box to specify my newly created partition do I have to copy all of the old /boot over to the new partition? what about changing its mount?
Well /boot is used by grub. So the whole concept of mount is irrelevant. You need to have a *consistent* set of whatever files grub needs to boot your system.
Well DUH! So if its not mounted how do you rebuild it? Isn't there a command that figures OK, so partition /dev/sdaXX is mounted on /mnt/disk and I have a pointer to that, so I'll put all what's needed to boot in there and make the references in /mnt/disk/grub/menu.lst point to /dev/sdaXX
No, that can't be right, the old /boot/grub/menu.lst specified root (hd0,5) all over the place. I *think* that means the first partition in the extended partition, the extended being counted as #4 - yes I found that in the documentation.
Which documentation? (hd0,5) is the *second* extended partition - see http://www.gnu.org/software/grub/manual/html_node/Naming-convention.html
Which is where it says (hd0,4) This specifies the first extended partition of the first hard disk drive. Note that the partition numbers for extended partitions are counted from `4', regardless of the actual number of primary partitions on your hard disk. Perhaps you're reading that differently from the way I am. Oh, so we're using the GNU version of Grub. I wasn't aware of that. Can you tell me where on the openSuse.org site I can verify that? And why isn't this docco on the opensuse.org site? Lets see, I have from fdisk: reordered to make sense Device Boot Start End Blocks Id System /dev/sda1 1 1275 10241406 7 HPFS/NTFS /dev/sda2 1276 2530 10080787+ 7 HPFS/NTFS /dev/sda4 2531 2550 160650 83 Linux /dev/sda3 * 2551 9729 57665317+ f W95 Ext'd (LBA) /dev/sda6 2551 2557 56164+ 83 Linux (/boot) /dev/sda7 2558 2836 2241036 83 Linux (/) /dev/sda8 2837 2845 72261 82 Linux swap /dev/sda5 2846 9729 55295698+ 8e Linux LVM The sda4 is the "newboot" that I made by shrinking sda2 and where I want to move to My /etc/fstab tells me /dev/sda6 /boot ext3 /dev/sda7 / ext3 /dev/sda8 swap swap So the /boot is the FIRST partition in the extended partition. And in /boot/grub/menu.lst I have title openSUSE 11.2 - 2.6.31.12-0.1 (pae) root (hd0,5) So what I think is that (hd0,4) is the actual extended partition, not the 'first' partition in the extended partition. However all this just goes to further demonstrate my confusion. You'll not that I'm not asking questions blindly here. I *have* dug and examined. I have googled and found some pretty atrocious technician writing on the subject. I have met articles that say grub0.97 isn't worth bothering with. -- Don't think you are going to conceal thoughts by concealing evidence that they ever existed. Dwight D. Eisenhower, speech at Dartmouth College, June 14, 1953 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org