ADB Posted November 21, 2004 Report Share Posted November 21, 2004 (edited) I 'm trying to get my 2 distro's (Mandrake and fedora) in my linuxloader. Here's what I did already: *I've made a map in /mnt named fedora *tried to edit fstab: /dev/hda6 / ext3 defaults 1 1 /dev/hda7 /home ext3 defaults 1 2 /dev/hdc /mnt/cdrom auto umask=0,user,iocharset=iso8859-15,codepage=850,noauto,ro,exec,users 0 0 none /mnt/floppy supermount dev=/dev/fd0,fs=ext2:vfat,--,umask=0,iocharset=iso8859-15,sync,codepage=850 0 0 none /proc proc defaults 0 0 /dev/hda5 swap swap defaults 0 0 [b]/dev/hda3 /mnt/fedora auto users ext3 defaults 0 0[/b] *this is lilo.conf: default="linux" boot=/dev/hda map=/boot/map keytable=/boot/be2-latin1.klt prompt nowarn timeout=100 message=/boot/message menu-scheme=wb:bw:wb:bw image=/boot/vmlinuz label="linux" root=/dev/hda6 initrd=/boot/initrd.img append="acpi=ht resume=/dev/hda5 splash=silent" vga=788 read-only [b]image=mnt/fedora/boot/vmlinuz-2.6.9-1.667 label="fedora" root=/dev/hda3 initrd=/mnt/fedora/boot/initrd-2.6.9-1.667.img append=aspi=ht vga=788 read-only[/b] When I type in console:mount /dev/hda3 is the output: cannot find /dev/hda3 in /etc/fstab PLease tell me what is wrong here? what did I forget? Edited November 21, 2004 by ADB Quote Link to comment Share on other sites More sharing options...
chris z Posted November 21, 2004 Report Share Posted November 21, 2004 try changing your lilo entry to the following. take note of the changes i made in RED........... image=/mnt/fedora/boot/vmlinuz-2.6.9-1.667label="fedora" root=/dev/hda3 initrd=/mnt/fedora/boot/initrd-2.6.9-1.667.img append="acpi=ht splash=silent resume=/dev/hda5" vga=788 read-only you had some incorrect syntax. also, make sure you run lilo -v to update the entries. in terminal as root do.......... lilo -v if you get no errors, reboot, select the Fedora entry, it should boot. Chris Quote Link to comment Share on other sites More sharing options...
ADB Posted November 21, 2004 Author Report Share Posted November 21, 2004 thank you chris z I've made the changes :-) but: when I run lilo he does not add fedora ( no errormessage ) but when I try to mount hda3 I 'm getting this errormessage saying that there is something wrong with this line in fstab /dev/hda3 /mnt/fedora auto users ext3 defaults 0 0 Quote Link to comment Share on other sites More sharing options...
ADB Posted November 21, 2004 Author Report Share Posted November 21, 2004 with the command df I see that hda3 is not mounted :-( Quote Link to comment Share on other sites More sharing options...
chris z Posted November 21, 2004 Report Share Posted November 21, 2004 ok, instead of editing fstab by hand, try using diskdrake. go to Mandrake Control Center->mount points->partitions. just click "ok" to the back up warning box, you're not going to use it. click on a partition you want to be able to mount (in this case your Fedora partition), name it, mount it. when you're done, allow it to write the changes to fstab. when you name the partition, name it as you have it listed in lilo & put the full path in. IE: /mnt/<name here>. if you want to edit fstab manually, here's an example of mine. i dual boot Mandrake, on for stability, one for testing. here's my stable Mandrake entry in fstab........ /dev/hda10 /mnt/mandrake100/boot ext3 defaults 1 2 /dev/hda14 /mnt/mandrake100/home reiserfs defaults 1 2 /dev/hda12 /mnt/mandrake100/root reiserfs defaults 1 2 /dev/hda13 /mnt/mandrake100/usr reiserfs defaults 1 2 note, if you have seperate partitions in Fedora for /usr, /home, etc. you'll need to mount & name each one in MCC, not just Fedora, to make them accessible. IE: /mnt/fedora/home, /mnt/fedora/root, etc. Chris Quote Link to comment Share on other sites More sharing options...
ADB Posted November 21, 2004 Author Report Share Posted November 21, 2004 (edited) chris z :-) thank you so much... I removed the line in fstab and used the graf interface and did what you said...and it worked :-) [root@localhost etc]# lilo Added linux * Added linux-nonfb Added failsafe Added fedora Edited November 21, 2004 by ADB Quote Link to comment Share on other sites More sharing options...
chris z Posted November 21, 2004 Report Share Posted November 21, 2004 (edited) cool! glad you got it worked out & you're welcome! Chris Edited November 21, 2004 by chris z Quote Link to comment Share on other sites More sharing options...
Cannonfodder Posted November 21, 2004 Report Share Posted November 21, 2004 Basically, the format in fstab is <partition> <mount point> <file system type> <mount parameters> You may have just had your auto users in the wrong place. It was expecting the file system type. Open /etc/fstab and look at the current entry for hda3 that now works. See how the syntax is setup.. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.