Creating boot section from /boot partitition
Jaak Simm
jaaksimm at firm.ee
Tue Feb 17 16:10:05 UTC 2004
John Hodrien wrote:
>>I'd forget the Windoze boot loader and put GRUB in the MBR, but then I'm
>>clueless on multiboot with M$ in charge. Provide the info above and
>>perhaps I or someone else can help with one approach or the other.
>>
>>
>I'd agree 100 percent. Why bother letting windows know about anything other
>than windows, it's just safer not to...
>
>
I found out that my fedora2 installation actually did try to put grub
into MBR. But for some reason it is not there. I also swapped my
partitions, so /boot is now primary (on /dev/hda4), not extended.
Also tried installing grub myself in "linux rescue" mode by:
grub
root (hd0,3)
setup (hd0)
But still windows boot loader is in charge. It's pretty odd that grub
cannot re-configure MBR.
I'm concatenating some fdisk info in the end of the mail.
Thanks for the suggestions,
Jaak
fdisk -l
> Disk /dev/hda: 81.9 GB, 81964302336 bytes
> 16 heads, 63 sectors/track, 158816 cylinders
> Units = cylinders of 1008 * 512 = 516096 bytes
>
> Device Boot Start End Blocks Id System
> /dev/hda1 * 1 40641 20482843+ 7 HPFS/NTFS
> /dev/hda2 40641 105650 32764567+ c W95 FAT32 (LBA)
> /dev/hda3 105857 158802 26683965 f W95 Ext'd (LBA)
> /dev/hda4 105651 105853 102312 83 Linux
> /dev/hda5 105857 138736 16571016 b W95 FAT32
> /dev/hda6 138737 156721 9064408+ 83 Linux
> /dev/hda7 156722 158801 1048288+ 82 Linux swap
>
> Partition table entries are not in disk order
grub.conf
> # grub.conf generated by anaconda
> #
> # Note that you do not have to rerun grub after making changes to this
> file
> # NOTICE: You have a /boot partition. This means that
> # all kernel and initrd paths are relative to /boot/, eg.
> # root (hd0,3)
> # kernel /vmlinuz-version ro root=/dev/hda6
> # initrd /initrd-version.img
> #boot=/dev/hda
> default=0
> timeout=10
> splashimage=(hd0,3)/grub/splash.xpm.gz
> title Fedora Core (2.6.1-1.65)
> root (hd0,3)
> kernel /vmlinuz-2.6.1-1.65 ro root=LABEL=/ rhgb
> initrd /initrd-2.6.1-1.65.img
> title Other
> rootnoverify (hd0,0)
> chainloader +1
fstab
> LABEL=/ / ext3
> defaults 1 1
> LABEL=/boot /boot ext3
> defaults 1 2
> none /dev/pts devpts
> gid=5,mode=620 0 0
> none /dev/shm tmpfs
> defaults 0 0
> none /proc proc
> defaults 0 0
> none /sys sysfs
> defaults 0 0
> /dev/hda7 swap swap
> defaults 0 0
More information about the fedora-test-list
mailing list