LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-24-2004, 02:24 PM   #16
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 47

Post you lilo.conf here
 
Old 03-24-2004, 02:32 PM   #17
dpeirce
Member
 
Registered: Mar 2004
Location: Central Texas
Distribution: Kubuntu, Fedora, DamnSmall, etc, etc
Posts: 78

Rep: Reputation: 15
boot=/dev/hda
map=/boot/map
vga=normal
default="linux-Mandrake"
keytable=/boot/us.klt
prompt
nowarn
timeout=100
message=/boot/message
menu-scheme=wb:bw:wb:bw
image=/boot/vmlinuz-2.4.21-0.13mdk
label="linux-Mandrake"
root=/dev/hdb1
initrd=/boot/initrd-2.4.21-0.13mdk.img
append="quiet devfs=mount hdd=ide-scsi acpi=off"
vga=788
read-only
image=/mnt/fedora/boot/vmlinuz-2.4.22-1.2174.nptl
label="linux-Fedora"
root=/dev/hda3
initrd=/mnt/fedora/boot/initrd-2.4.22-1.2174.nptl
append="quiet devfs=mount hdd=ide-scsi acpi=off"
vga=788
read-only
image=/boot/vmlinuz
label="linux-nonfb"
root=/dev/hdb1
initrd=/boot/initrd.img
append="devfs=mount hdd=ide-scsi acpi=off"
read-only
other=/dev/hda1
label="windows"
table=/dev/hda
other=/dev/fd0
label="floppy"
unsafe
image=/boot/vmlinuz
label="linux"
root=/dev/hdb1
initrd=/boot/initrd.img
append="devfs=mount hdd=ide-scsi acpi=off quiet"
vga=788
read-only
image=/boot/vmlinuz
label="failsafe"
root=/dev/hdb1
initrd=/boot/initrd.img
append="devfs=nomount hdd=ide-scsi acpi=off failsafe"
read-only

There's a new section now, the label="linux" section second from the bottom. That's what happened before when I updated mandrake to reinstall lilo. I deleted it then so I'd only have one "linux".

In faith, Dave
dave@christos.cjb.net
Viva Texas
 
Old 03-24-2004, 02:40 PM   #18
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 47
Is the Fedora partition mounted?
'mount' alone shows stuff that was mounted
mkdir /mnt/fedora
mount /dev/hda3 /mnt/fedora
 
Old 03-24-2004, 02:54 PM   #19
dpeirce
Member
 
Registered: Mar 2004
Location: Central Texas
Distribution: Kubuntu, Fedora, DamnSmall, etc, etc
Posts: 78

Rep: Reputation: 15
I did "mount" and this is what came up. It looks like fstab:

[dave@localhost dave]$ mount
/dev/hdb1 on / type ext3 (rw)
none on /proc type proc (rw)
none on /proc/bus/usb type usbdevfs (rw)
none on /dev/pts type devpts (rw,mode=0620)
none on /mnt/cdrom type supermount (ro,dev=/dev/hdc,fs=auto,--,iocharset=iso8859-1,codepage=850)
none on /mnt/cdrom2 type supermount (ro,dev=/dev/scd0,fs=auto,--,iocharset=iso8859-1,codepage=850,umask=0)
none on /mnt/fedora type supermount (rw,dev=/dev/hda3,fs=auto,--,iocharset=iso8859-1,codepage=850)
none on /mnt/floppy type supermount (rw,sync,dev=/dev/fd0,fs=auto,--,iocharset=iso8859-1,codepage=850)
none on /mnt/windows type supermount (rw,dev=/dev/hda1,fs=auto,--,iocharset=iso8859-1,codepage=850)
[dave@localhost dave]$

There's a fedora directory in mandrake's /mnt (/mnt/fedora). As root I can see any of the files in fedora. I think that means fedora is mounted?

In faith, Dave
dave@christos.cjb.net
Viva Texas
 
Old 03-24-2004, 03:00 PM   #20
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 47
I think lilo has a problem with the supermount automounter.

mkdir /fedora
mount /dev/hda3 /fedora

Change the path in lilo.conf from /mnt/fedora to /fedora .
 
Old 03-24-2004, 03:24 PM   #21
dpeirce
Member
 
Registered: Mar 2004
Location: Central Texas
Distribution: Kubuntu, Fedora, DamnSmall, etc, etc
Posts: 78

Rep: Reputation: 15
This is what I understand I'm to do:

As root, type:

mkdir /fedora
mount /dev/hda3 /fedora

Then change the paths in lilo.conf

from

image=/mnt/fedora/boot/vmlinuz-2.4.22-1.2174.nptl
initrd=/mnt/fedora/boot/initrd-2.4.22-1.2174.nptl

to

image=/fedora/boot/vmlinuz-2.4.22-1.2174.nptl
initrd=/fedora/boot/initrd-2.4.22-1.2174.nptl

Correct? BTW, what does that do to fstab and my desktop icon for fedora? Is it permanent? And does that allow me to displace grub and install lilo?

In faith, Dave
dave@christos.cjb.net
Viva Texas
 
Old 03-24-2004, 03:30 PM   #22
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 47
Correct.
It doesn't do anything to your fstab. There will be nothing in /fedora as soon as you umount or reboot. Fedora will only need to be mounted there when lilo is being installed. If the lilo command works, the grub should be overwritten.
 
Old 03-24-2004, 03:36 PM   #23
dpeirce
Member
 
Registered: Mar 2004
Location: Central Texas
Distribution: Kubuntu, Fedora, DamnSmall, etc, etc
Posts: 78

Rep: Reputation: 15
So, after lilo installs, I'd need to change lilo.conf back to

image=/mnt/fedora/boot/vmlinuz-2.4.22-1.2174.nptl
initrd=/mnt/fedora/boot/initrd-2.4.22-1.2174.nptl

???

In faith, Dave
dave@christos.cjb.net
Viva Texas
 
Old 03-24-2004, 03:39 PM   #24
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 47
You won't need to do that. You will need to mount Fedora to /fedora whenever you install lilo.
 
Old 03-24-2004, 04:02 PM   #25
dpeirce
Member
 
Registered: Mar 2004
Location: Central Texas
Distribution: Kubuntu, Fedora, DamnSmall, etc, etc
Posts: 78

Rep: Reputation: 15
Here's the output from console:

[root@localhost dave]# mkdir /fedora
[root@localhost dave]# mount /dev/hda3 /fedora
mount: /dev/hda3 already mounted or /fedora busy
[root@localhost dave]# umount /mnt/fedora
umount: /mnt/fedora: device is busy
[root@localhost dave]#

Now there are two fedora directories: /fedora and /mnt/fedora. /fedora is empty, and /mnt/fedora still opens up into fedora files.

In faith, Dave
dave@christos.cjb.net
Viva Texas
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Lilo triple boot mngmd Linux - General 5 11-20-2005 06:55 PM
Can LILO allow me to triple boot? captaincaveman Linux - Distributions 1 05-03-2004 06:22 PM
Triple Boot with Lilo MaleWithBrains Linux - Software 6 02-10-2004 07:39 AM
need help with lilo and triple boot! rmanocha Linux - Software 1 11-02-2003 01:51 AM
Triple Boot w/Lilo zuele Linux - Software 1 10-09-2003 06:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:03 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration