Find the answer to your Linux question:
Results 1 to 6 of 6
Heya, I just installed slax to a hard disk partition (sda10) and allowed the lilo bootloader to install to a floppy. I already have a grub bootloader with three other ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie jpalfree's Avatar
    Join Date
    Jul 2005
    Location
    Montreal, CA
    Posts
    198

    SLAX hard drive installation and GRUB


    Heya,
    I just installed slax to a hard disk partition (sda10) and allowed the lilo bootloader to install to a floppy. I already have a grub bootloader with three other distros so i'm quite used to editing my grub menu.lst. I tried adding slax but it won't boot. It hangs at the line:
    Code:
     Runlevel 3:
    ... 
    Starting sysklogd daemons /usr/sbin/sysklogd
    ...
    but it works when i boot from the floppy. i'm wondering if there are any special commands that lilo is passing to the kernel that i havn't included in my menu.lst which is:
    Code:
    ...
    title Slax
    kernel (hd0,9)/boot/vmlinuz ro root=/dev/sda10
    ...
    Avatar from xkcd.com, a hilarious computer related webcomic.

  2. #2
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,733
    Not sure, but you might need to create an initrd for it. Take a look here for more info and an example lilo file:

    http://slax.linux-live.org/doc_boot_iso_md5.php#lilo

  3. #3
    Linux Enthusiast
    Join Date
    Jun 2005
    Location
    The Hot Humid South
    Posts
    602
    I'm pretty sure it installs a lilo.conf file on that floppy as well. You might want to check to see how the LILO is configured on the floppy and just copy the commands over to GRUB.

  4. #4
    Linux Newbie jpalfree's Avatar
    Join Date
    Jul 2005
    Location
    Montreal, CA
    Posts
    198
    how do i find the lilo.conf file? i tried mounting the floppy but there is nothing on it. though it sais there is a chunk of space used on it.
    Avatar from xkcd.com, a hilarious computer related webcomic.

  5. #5
    Linux Enthusiast
    Join Date
    Jun 2005
    Location
    The Hot Humid South
    Posts
    602
    Now that I think about it, the lilo.conf file might be on the SLAX installation itself. See if you can find it under the /boot directory.

    And just FYI, this is what my Slackware installation look on my GRUB menu.lst file:
    Code:
    title           Slackware 10.1, kernel 2.4.29
    root            (hd0,7)
    kernel          /boot/vmlinuz root=/dev/hda8 ro hdc=ide-scsi
    savedefault
    boot

  6. #6
    Linux Newbie jpalfree's Avatar
    Join Date
    Jul 2005
    Location
    Montreal, CA
    Posts
    198
    Thanks everyone.
    I got it working by checking out this site :
    Quote Originally Posted by Ozar
    Not sure, but you might need to create an initrd for it. Take a look here for more info and an example lilo file:

    http://slax.linux-live.org/doc_boot_iso_md5.php#lilo
    and by adding the boot options showed there to the grub menu.lst (except for root=/dev/ram0... i added root=/dev/sda10 since it's on the 10th partition)
    Avatar from xkcd.com, a hilarious computer related webcomic.

Posting Permissions

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