/fd0 grub.conf
From: craig (craig_at_stellarnet.com)
Date: 11/17/04
- Next message: Gramps: "Re: AMD64 Advice"
- Previous message: Moe Trin: "Re: firewalls keep the dragon's fangs and claws at bay"
- Next in thread: moma: "Re: /fd0 grub.conf"
- Reply: moma: "Re: /fd0 grub.conf"
- Reply: Lenard: "Re: /fd0 grub.conf"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 16 Nov 2004 17:54:53 -0600
I'm experimenting here to see how to boot from grub from a floppy.
I created a boot floppy as follows:
[root prompt]# fdformat /dev/fd0H1440
[root prompt]# mke2fs /dev/fd0
[root prompt]# mount -t ext2 /dev/fd0 /mnt/floppy
[root prompt]# grub-install --root-directory=/mnt/floppy '(fd0)'
[root prompt]# cp /boot/grub/grub.conf /mnt/floppy/boot/grub/grub.conf
[root prompt]# umount /mnt/floppy
this gave me a grub.conf on the floppy that reads as follows:
title Fedora Core (2.4.22-1.2199.nptl)
root (hd0,0)
kernel /vmlinuz-2.4.22-1.2199.nptl ro root=LABEL=/ rhgb
initrd /initrd-2.4.22-1.2199.nptl.img
title Fedora Core (2.4.22-1.2115.nptl)
root (hd0,0)
kernel /vmlinuz-2.4.22-1.2115.nptl ro root=LABEL=/ rhgb
grub.conf
When I boot the process haults on a partially visible grub menu. I don't
think it's able to find the root.
Following my fdisk reports:
# fdisk -l /dev/hda
Disk /dev/hda: 164.6 GB, 164696555520 bytes
255 heads, 63 sectors/track, 20023 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 13 104391 83 Linux
/dev/hda2 14 19893 159686100 83 Linux
/dev/hda3 19894 20023 1044225 82 Linux swap
The boot can not find the root as best as I can tell by trying to read
photo negative grub menu that's generated at boot.
I tried editing the line in grub.conf while
kernel /vmlinuz-2.4.22-1.2199.nptl ro real_root=/dev/hda3
It didn't even seem to attempt use the new path but I may have been
mistaken.
- Next message: Gramps: "Re: AMD64 Advice"
- Previous message: Moe Trin: "Re: firewalls keep the dragon's fangs and claws at bay"
- Next in thread: moma: "Re: /fd0 grub.conf"
- Reply: moma: "Re: /fd0 grub.conf"
- Reply: Lenard: "Re: /fd0 grub.conf"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|