hi guys, i  having problems with grub for LFS 6.0 

My LFS system fstab file is:

#Begin /etc/fstab
#
#Filesystem    Mount-Point   Type    Options         Dump   fsck-Order
#

/dev/hda7         /           ext3   defaults         1       1
/dev/hda6       swap         swap    pri=42           0       0
proc            /proc        proc    defaults         0       0
sysfs           /sys         sysfs   defaults         0       0
devpts          /dev/pts     devpts  gid=4,mode=620   0       0
shm             /dev/shm     tmpfs   defaults         0       0
#End of /etc/fstab


and my HOST system fstab file is 


/dev/hda2            /                    reiserfs  
acl,user_xattr        1 1
/dev/hda4            /windows/C           vfat      
users,gid=users,umask=0002,
iocharset=utf8 0 0
devpts               /dev/pts             devpts    
mode=0620,gid=5       0 0
proc                 /proc                proc      
defaults              0 0
usbfs                /proc/bus/usb        usbfs     
noauto                0 0
sysfs                /sys                 sysfs     
noauto                0 0
/dev/hdb4            /media/zip           auto      
noauto,user           0 0
/dev/cdrecorder      /media/cdrecorder    subfs     
fs=cdfss,ro,procuid,nosuid,
nodev,exec,iocharset=utf8 0 0
/dev/cdrom           /media/cdrom         subfs     
fs=cdfss,ro,procuid,nosuid,
nodev,exec,iocharset=utf8 0 0
/dev/hda6            swap                 swap      
pri=42                0 0
/dev/hda7            /mnt/lfs             ext3       defaults        1 2


when i try to configure grub with root (hd0,6) grub tells me 

Error 21: Selected disk does not exist

It did allow me to do this before, but since the system wouldn't boot, i
decided to play around with the bootloader.

my host system menu.lst is 
# Modified by YaST2. Last modification on Fri Dec 10 20:19:09 2004


color white/blue black/light-gray
default 0
timeout 8
gfxmenu (hd0,1)/boot/message

###Don't change this comment - YaST2 identifier: Original name: linux###
title SuSE Linux 9.1 Professional
    kernel (hd0,1)/boot/vmlinuz root=/dev/hda2 vga=0x31a splash=silent
desktop resume=/dev/hda5 showopts
    initrd (hd0,1)/boot/initrd


###Don't change this comment - YaST2 identifier: Original name:
failsafe###
title Failsafe
    kernel (hd0,1)/boot/vmlinuz root=/dev/hda2 showopts ide=nodma
apm=off acpi=off vga=normal noresume nosmp noapic maxcpus=0  3
    initrd (hd0,1)/boot/initrd

###Don't change this comment - YaST2 identifier: Original name: Fedora
Core III###
title Fedora Core III
    root (hd0,4)
    kernel /boot/vmlinuz-2.6.9-1.667smp ro root=LABEL=/ quiet
    initrd (hd0,4)/boot/initrd-2.6.9-1.667smp.img       


          

whereas my LFS menu.lst is just

title LFS 6.0
root (hd0,6)
kernel /boot/lfskernel-2.6.8.1 root=/dev/hda7


I had the other SuSE and Redhat options in the first LFS attempt, but
now I seem to have broken the chain. Also, if you look at my host fdisk
file,
 
/dev/hda2   *          96       62523    31463302+  83  Linux
/dev/hda3           62523      114543    26218080    f  W95 Ext'd (LBA)
/dev/hda5           62523       92996    15358108+  83  Linux
/dev/hda6           92996       95020     1020096   82  Linux swap
/dev/hda7           95021      113744     9436864+  83  Linux

you'll see that there's a Linux partition on /dev/hda5 which is Fedora
Core 3. The gub/menu.lst entry for this is 

        title Fedora Core III
        root (hd0,4)
         kernel /boot/vmlinuz-2.6.9-1.667smp ro root=LABEL=/ quiet
                initrd (hd0,4)/boot/initrd-2.6.9-1.667smp.img

whereas for SuSE, the main system I'm using and the system which I'm
using to build LFS, is on /dev/hda2 with grub entry 

        title SuSE Linux 9.1 Professional
                 kernel (hd0,1)/boot/vmlinuz root=/dev/hda2 vga=0x31a
        splash=silent desktop resume=/dev/hda5 showopts
                initrd (hd0,1)/boot/initrd

Has anyone got any suggestions on how I might fix this? (I appreciate
that my whole Linux installation may be screwed up from the start)



Regards

vmlinuz101

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to