Results 1 to 4 of 4

Thread: Editing lilo to get another OS to boot....

Hybrid View

  1. #1
    Senior Member registered user
    Join Date
    Jul 2004
    Location
    Wisconsin, USA
    Posts
    536

    Editing lilo to get another OS to boot....

    I installed Red Hat 9 on hda1 and choose not to use the red hat bootloader. I made a boot disk instead. Now I want to edit lilo.conf, which is the mandrake bootloader on hda6, to add Red Hat to the options and have it boot from there instead of the floppy. Please help with this entry. Here is what my lilo.conf looks like:

    default="WindowsXP"
    boot=/dev/hda
    map=/boot/map
    keytable=/boot/us.klt
    prompt
    nowarn
    #timeout=100
    message=/boot/message
    menu-scheme=wb:bw:wb:bw
    image=/boot/vmlinuz
    label="Mandrake"
    root=/dev/hda4
    initrd=/boot/initrd.img
    append="devfs=nomount acpi=ht splash=silent"
    vga=788
    read-only

    image=/mnt/hda6/boot/vmlinuz-2.6.8.1-kanotix-5
    label="Kanotix"
    root=/dev/hda6
    # initrd=/mnt/hda6/boot/initrd.img
    vga=791
    append="ramdisk_size=100000 lang=us apm=power-off hda=scsi hdb=scsi hdc=scsi hdd=scsi hde=scsi hdf=scsi hdg=scsi hdh=scsi nomce alsa noinitrd.img"
    read-only

    other=/dev/hda2
    label="WindowsXP"
    table=/dev/hda
    other=/boot/vmlinuz
    label="RedHat"

    #image=/mnt/hda1/boot/vmlinuz
    # label="RedHat"
    # root=/dev/hda1
    # initrd=/mnt/hda1/boot/initrd.img
    # vga=788
    # append="initrd=initrd.img hdc=ide-scsi"

    Right now it boots to a screen that says booting from diskette is no longer supported. But it can boot into red hat from the floppy. I commented out some things that didn't work, said file or directory does not exist when I ran lilo. Please help with this entry.

  2. #2
    Senior Member registered user
    Join Date
    May 2003
    Posts
    981
    did you have /dev/hda1 mounted when you ran lilo? Your RedHat entry looks like it should work.

  3. #3
    Senior Member registered user
    Join Date
    Jul 2004
    Location
    Wisconsin, USA
    Posts
    536
    That entry gives the error that hda1 does not have a valid boot signature.
    This entry actually goes farther:

    other=/boot/vmlinuz
    label="RedHat"

    That is the one that gets me to the screen where it tells me:

    Direct booting from floppy is no longer supported.
    Please use a boot loader program instead.

    Remove disk and press and key to reboot...

    Then is loops me back to the lilo options.

    I installed the bootloader to floppy. So how does that change anything?

  4. #4
    Senior Member registered user
    Join Date
    Jul 2004
    Location
    Wisconsin, USA
    Posts
    536
    This is the entry that works:

    image=/boot/vmlinuz
    label="RedHat"
    root=/dev/hda1
    initrd=/boot/initrd.img
    vga=788
    append="hdc=ide-scsi"
    read-only

Similar Threads

  1. Replies: 0
    Last Post: 11-26-2005, 03:26 PM
  2. Editing Boot commands
    By lbenn in forum Hardware & Booting
    Replies: 0
    Last Post: 05-22-2005, 12:32 AM
  3. Editing GRUB to get other OS to boot error...
    By rrfish72 in forum General Support
    Replies: 2
    Last Post: 10-22-2004, 11:54 PM
  4. Editing LILO
    By jtsai256 in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 07-12-2004, 07:00 AM
  5. Editing boot.img help files
    By rdmelin in forum Customising & Remastering
    Replies: 0
    Last Post: 06-25-2003, 01:01 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


(New) AMD Ryzen 7 5700X 8 Core 16 Thread AM4 Unlocked 3.4 GHz CPU OEM Tray picture

(New) AMD Ryzen 7 5700X 8 Core 16 Thread AM4 Unlocked 3.4 GHz CPU OEM Tray

$169.99



AMD Ryzen 7 7800X3D 8-Core 16-Thread 4.2GHz/5.0GHz Socket AM5 picture

AMD Ryzen 7 7800X3D 8-Core 16-Thread 4.2GHz/5.0GHz Socket AM5

$275.00



8-core 10-core GPU baseboard 8654 to PCIE 5.0x16 GPU expansion baseboard picture

8-core 10-core GPU baseboard 8654 to PCIE 5.0x16 GPU expansion baseboard

$377.77



Lenovo ThinkCentre M920S Sff Intel Core i5 8600 8GB 256GB SSD Windows 11 Pro picture

Lenovo ThinkCentre M920S Sff Intel Core i5 8600 8GB 256GB SSD Windows 11 Pro

$94.99



AMD Ryzen 7 9800X3D 8-Core AM5 CPU 4.7GHz 96MB L3 8MB L2 100MHz picture

AMD Ryzen 7 9800X3D 8-Core AM5 CPU 4.7GHz 96MB L3 8MB L2 100MHz

$389.99



AMD Ryzen 7 7800X3D 8-Core 16-Thread AM5 Processor CPU - New Open Box picture

AMD Ryzen 7 7800X3D 8-Core 16-Thread AM5 Processor CPU - New Open Box

$305.00



Intel Core i9-9900K Coffee Lake 8-Core, 16-Thread, 3.6 GHz (LGA 1151) picture

Intel Core i9-9900K Coffee Lake 8-Core, 16-Thread, 3.6 GHz (LGA 1151)

$189.99



Lenovo LOQ 15 15.6

Lenovo LOQ 15 15.6" FHD 144Hz 8-Core i5-12450HX 16GB 512GB SSD GeForce RTX 4050

$799.00



Apple MacBook Air 13.6” M2 8GB 256GB SSD 2022 MLY33LL/A 8‑Core CPU 8‑Core GPU picture

Apple MacBook Air 13.6” M2 8GB 256GB SSD 2022 MLY33LL/A 8‑Core CPU 8‑Core GPU

$529.95



CHUWI 15.6'' Laptop Computer Intel Core 8GB RAM 512GB SSD WiFi Windows 11 picture

CHUWI 15.6'' Laptop Computer Intel Core 8GB RAM 512GB SSD WiFi Windows 11

$269.99