Re: [SLE] Moving Grub from MBR
Don't you have Windows right behind the MBR? I'd be careful here. You might wipe out Windows.
Greg Wallace
Yes I do have Windows, and that was my concern. Do you think Windows will boot (as it prefers to be on the first partition). I am wondering if I should shrink Windows a tad, and make a small first
James Wright wrote: partition for the boot loader. After reconfiguring Grub for the new partition, would this potentially work? Thank you BTW Darryl, for the clear instructions. I can try this at home first, as I have the same partition setup at work and home (XP & Suse, just two partitions). James W
James Wright wrote:
James Wright wrote:
Don't you have Windows right behind the MBR? I'd be careful here. You might wipe out Windows.
Greg Wallace
Yes I do have Windows, and that was my concern. Do you think Windows will boot (as it prefers to be on the first partition). I am wondering if I should shrink Windows a tad, and make a small first partition for the boot loader. After reconfiguring Grub for the new partition, would this potentially work? Thank you BTW Darryl, for the clear instructions. I can try this at home first, as I have the same partition setup at work and home (XP & Suse, just two partitions).
Check fdisk or cfdisk to see what cylinder the Win partition begins on.
The first track of head 0 is supposed to be reserved for boot purposes,
so Win should not be there at all, but who knows what Billy has decided
to do along the way? By saving copies of the MBR and both partition boot
records, you can try moving grub without resorting to such a trick. Read
on to find out why...
If you do create such a partition, you will need to perform major
surgery on your Linux boot information, as well as to the mounting table
(/etc/fstab). The new partition will become /dev/hda1 (or in grub,
(hd0,0) ) and must be a primary partition, and everything else will
slide down one number. Thus the grub menu line to boot SuSE will become
"root (hd0,2)" instead of the (hd0,1) it now is and the fstab line for
the partition will become "/dev/hda3 / <etc>" (assuming it is a
primary; hda5 if it's a logical extended partition) -- thank
participants (2)
-
Darryl Gregorash
-
James Wright