Nu-Bee
02-14-2003, 11:38 PM
I just placed Mandrake 9.1b3 on another partition and am loading it...now how do I get lilo set up to let me choose between 9.0 and 9.1b3 ?
...that is hda11 for 9.1b3, and hda6 for 9.0...
It is hda6 that I am trying to get into lilo. I have 2 kernels there so don't be confused by this.
Here is my lilo:
boot=/dev/hda
map=/boot/map
vga=791
default="Linux"
keytable=/boot/us.klt
prompt
nowarn
timeout=100
message=/boot/message
menu-scheme=wb:bw:wb:bw
ignore-table
image=/boot/vmlinuz
label="Linux"
root=/dev/hda11
initrd=/boot/initrd.img
append="quiet devfs=mount hdd=ide-scsi"
vga=788
read-only
image=/boot/vmlinuz-2.4.19-24mdkcustom
label=2419-24custom
root=/dev/hda6
initrd=/boot/initrd-2.4.19-24mdkcustom.img
append="quiet devfs=mount hdd=ide-scsi"
vga=788
read-only
other=/dev/hda1
label=WinXP
table=/dev/hda
image=/boot/vmlinuz
label=linux
root=/dev/hda6
initrd=/boot/initrd.img
append="quiet devfs=mount hdd=ide-scsi"
vga=788
read-only
image=/boot/vmlinuz
label="old-linux"
root=/dev/hda6
initrd=/boot/initrd.img
append="quiet devfs=mount hdd=ide-scsi"
vga=788
read-only
image=/boot/vmlinuz
label="linux-nonfb"
root=/dev/hda11
initrd=/boot/initrd.img
append="devfs=mount hdd=ide-scsi"
read-only
image=/boot/vmlinuz
label="failsafe"
root=/dev/hda11
initrd=/boot/initrd.img
append="failsafe devfs=nomount hdd=ide-scsi"
read-only
other=/dev/fd0
label="floppy"
unsafe
But, when I try to run lilo, this is what I get:
[root@localhost joseph]# lilo
Added Linux * Fatal: open /boot/vmlinuz-2.4.19-24mdkcustom: No such file or directory
Here is df:
[root@localhost joseph]# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hda11 7060276 1517064 5184564 23% /
/dev/hda1 6132832 4028548 2104284 66% /mnt/win_c
/dev/hda5 15358104 5506156 9851948 36% /mnt/win_d
/dev/hda10 3062380 42072 3020308 2% /mnt/win_e
Here is my current fstab, and I am not exactly sure how to mount the other / and /home partitions.
I mean...what titles to give them.
I can mount them...but with odd titles.
I am afraid to try to mount 2x "/", and 2x "/home".
/dev/hda11 / ext3 defaults 1 1 none /dev/pts devpts mode=0620 0 0
/dev/hdc /mnt/cdrom auto user,iocharset=iso8859-1,codepage=850,noauto,ro,umask=0,exec 0 0
/dev/scd0 /mnt/cdrom2 auto user,iocharset=iso8859-1,codepage=850,noauto,ro,umask=0,exec 0 0
/dev/fd0 /mnt/floppy auto user,iocharset=iso8859-1,sync,codepage=850,noauto,umask=0,exec 0 0 /dev/hda1 /mnt/win_c vfat iocharset=iso8859-1,codepage=850,umask=0 0 0
/dev/hda5 /mnt/win_d ntfs iocharset=iso8859-1,ro,umask=0 0 0
/dev/hda10 /mnt/win_e vfat iocharset=iso8859-1,codepage=850,umask=0 0 0 none /proc proc defaults 0 0
/dev/hda7 swap swap defaults 0 0
I have a /usr also but I can figger that out later.
Right now I am most concerned with getting lilo set up...and being able to edit files on the original /etc...
BTW, the old / is hda6
The old /home is hda9
My old /usr is had8
TIA,
UPDATE:
I have been able to return the system to the 9.0 lilo, and boot the 9.1b3 off a floppy. I would however still like to have them both on the lilo menu.
...that is hda11 for 9.1b3, and hda6 for 9.0...
It is hda6 that I am trying to get into lilo. I have 2 kernels there so don't be confused by this.
Here is my lilo:
boot=/dev/hda
map=/boot/map
vga=791
default="Linux"
keytable=/boot/us.klt
prompt
nowarn
timeout=100
message=/boot/message
menu-scheme=wb:bw:wb:bw
ignore-table
image=/boot/vmlinuz
label="Linux"
root=/dev/hda11
initrd=/boot/initrd.img
append="quiet devfs=mount hdd=ide-scsi"
vga=788
read-only
image=/boot/vmlinuz-2.4.19-24mdkcustom
label=2419-24custom
root=/dev/hda6
initrd=/boot/initrd-2.4.19-24mdkcustom.img
append="quiet devfs=mount hdd=ide-scsi"
vga=788
read-only
other=/dev/hda1
label=WinXP
table=/dev/hda
image=/boot/vmlinuz
label=linux
root=/dev/hda6
initrd=/boot/initrd.img
append="quiet devfs=mount hdd=ide-scsi"
vga=788
read-only
image=/boot/vmlinuz
label="old-linux"
root=/dev/hda6
initrd=/boot/initrd.img
append="quiet devfs=mount hdd=ide-scsi"
vga=788
read-only
image=/boot/vmlinuz
label="linux-nonfb"
root=/dev/hda11
initrd=/boot/initrd.img
append="devfs=mount hdd=ide-scsi"
read-only
image=/boot/vmlinuz
label="failsafe"
root=/dev/hda11
initrd=/boot/initrd.img
append="failsafe devfs=nomount hdd=ide-scsi"
read-only
other=/dev/fd0
label="floppy"
unsafe
But, when I try to run lilo, this is what I get:
[root@localhost joseph]# lilo
Added Linux * Fatal: open /boot/vmlinuz-2.4.19-24mdkcustom: No such file or directory
Here is df:
[root@localhost joseph]# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hda11 7060276 1517064 5184564 23% /
/dev/hda1 6132832 4028548 2104284 66% /mnt/win_c
/dev/hda5 15358104 5506156 9851948 36% /mnt/win_d
/dev/hda10 3062380 42072 3020308 2% /mnt/win_e
Here is my current fstab, and I am not exactly sure how to mount the other / and /home partitions.
I mean...what titles to give them.
I can mount them...but with odd titles.
I am afraid to try to mount 2x "/", and 2x "/home".
/dev/hda11 / ext3 defaults 1 1 none /dev/pts devpts mode=0620 0 0
/dev/hdc /mnt/cdrom auto user,iocharset=iso8859-1,codepage=850,noauto,ro,umask=0,exec 0 0
/dev/scd0 /mnt/cdrom2 auto user,iocharset=iso8859-1,codepage=850,noauto,ro,umask=0,exec 0 0
/dev/fd0 /mnt/floppy auto user,iocharset=iso8859-1,sync,codepage=850,noauto,umask=0,exec 0 0 /dev/hda1 /mnt/win_c vfat iocharset=iso8859-1,codepage=850,umask=0 0 0
/dev/hda5 /mnt/win_d ntfs iocharset=iso8859-1,ro,umask=0 0 0
/dev/hda10 /mnt/win_e vfat iocharset=iso8859-1,codepage=850,umask=0 0 0 none /proc proc defaults 0 0
/dev/hda7 swap swap defaults 0 0
I have a /usr also but I can figger that out later.
Right now I am most concerned with getting lilo set up...and being able to edit files on the original /etc...
BTW, the old / is hda6
The old /home is hda9
My old /usr is had8
TIA,
UPDATE:
I have been able to return the system to the 9.0 lilo, and boot the 9.1b3 off a floppy. I would however still like to have them both on the lilo menu.