Results 1 to 10 of 10

Thread: Booting hdbased knoppix with lilo.

  1. #1
    Member registered user
    Join Date
    Apr 2003
    Posts
    55

    Booting hdbased knoppix with lilo.

    I was configuring it with bootdrake, but when I boot up knoppix w/ lilo, I get Kernel Panic, no init found, try passing init= to kernel, or something like that.

    What do I need to do, to boot knoppix?

  2. #2
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    Auckland, New Zealand
    Posts
    818
    So you're using mandrake ?.. you will need to edit /etc/lilo.conf manually.

    The instructions for a HD based knoppix are in
    http://www.knoppix.net/docs/index.php/HdBasedHowTo

    If you have read the howto, and still have trouble, post your /etc/lilo.conf here.

  3. #3
    Member registered user
    Join Date
    Apr 2003
    Posts
    55
    Well, I got somewhere with that guide, I c+ped, the boot profile, and edited it a little bit. I made some progress, now I go into a "limted shell", that's not bash.

    BTW, I used that guide to copy the files.

    Code:
    boot=/dev/hda
    map=/boot/map
    vga=normal
    default="linux"
    keytable=/boot/us.klt
    prompt
    nowarn
    timeout=150
    message=/boot/message
    menu-scheme=wb:bw:wb:bw
    image=/boot/vmlinuz
    	label="linux"
    	root=/dev/hda2
    	initrd=/boot/initrd.img
    	append="quiet devfs=mount hdd=ide-scsi acpi=off"
    	vga=788
    	read-only
    image=/boot/vmlinuz
    	label="linux-nonfb"
    	root=/dev/hda2
    	initrd=/boot/initrd.img
    	append="devfs=mount hdd=ide-scsi acpi=off"
    	read-only
    other=/dev/hda1
    	label="windows"
    	table=/dev/hda
    other=/dev/hdb1
    	label="windows98"
    	table=/dev/hdb
    	map-drive=0x80
    	   to=0x81
    	map-drive=0x81
    	   to=0x80
    other=/dev/fd0
    	label="floppy"
    	unsafe
    image=/boot/vmlinuz
    	label="failsafe"
    	root=/dev/hda2
    	initrd=/boot/initrd.img
    	append="failsafe devfs=nomount hdd=ide-scsi acpi=off"
    	read-only
    image=/boot/vmlinuz # The kernel
            append="lang=de ramdisk_size=100000 init=/etc/init apm=power-off hda=scsi hdb=scsi hdc=scsi hdd=scsi hde=scsi hdf=scsi hdg=scsi hdh=scsi vga=791 initrd=KNOPPIX/miniroot.gz nomce quiet BOOT_IMAGE=knoppix" #add initrd path to miniroot.gz
            label="Knoppix"# label of your profil
            root=/dev/hda7 # partiton where lilo can found the directory /boot
            read-only
            initrd=/mnt/knoppix/boot/miniroot.gz

  4. #4
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    Auckland, New Zealand
    Posts
    818
    Ok, well that's progress. It means it has booted and found the miniroot. So becasue it says it's dropping you to a shell, does it also say "Can't find Knoppix Filesystem" ?

    Where abouts is your KNOPPIX/KNOPPIX directory/file ?

  5. #5
    Member registered user
    Join Date
    Apr 2003
    Posts
    55
    Yeah, I think it said can't find filesystem, not sure.

    It's /mnt/knoppix/KNOPPIX/KNOPPIX.

  6. #6
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479
    You have an extra knoppix you just need the directory and the file .

  7. #7
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    Auckland, New Zealand
    Posts
    818
    Quote Originally Posted by reub2000
    Yeah, I think it said can't find filesystem, not sure.

    It's /mnt/knoppix/KNOPPIX/KNOPPIX.
    er, thats from inside linux right?

    So is "/mnt/knoppix" a partition mount point? and in the ROOT of that partition is "/KNOPPIX/KNOPPIX" with the last KNOPPIX being the ~600 Meg file? If so, then it should work.

  8. #8
    Member registered user
    Join Date
    Apr 2003
    Posts
    55
    Quote Originally Posted by eadz
    Quote Originally Posted by reub2000
    Yeah, I think it said can't find filesystem, not sure.

    It's /mnt/knoppix/KNOPPIX/KNOPPIX.
    er, thats from inside linux right?

    So is "/mnt/knoppix" a partition mount point? and in the ROOT of that partition is "/KNOPPIX/KNOPPIX" with the last KNOPPIX being the ~600 Meg file? If so, then it should work.
    Yep, /mnt/knoppix is the mount point, then the path to the file, is KNOPPIX/KNOPPIX.

    So, if it should work, why does it not work?

    Edit: Itried, getting rid of hda=scsi, since my hd is ide, but it did nothing.

  9. #9
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479
    label="Knoppix"# label of your profile
    root=/dev/hda7 # partiton where lilo can found the directory /boot
    read-only
    initrd=/mnt/knoppix/boot/miniroot.gz
    Shouldn't the initrd line be initrd=/boot/miniroot.gz you have already specified root=/dev/hda7 so it will be looking for a /dev/hda7/mnt/knoppix/boot/miniroot.gz instead of /dev/hda7/boot/miniroot.gz.

  10. #10
    Member registered user
    Join Date
    Apr 2003
    Posts
    55
    ^^Doesn't work.

    [quote[[root@localhost reub2000]# lilo
    Added linux *
    Added linux-nonfb
    Added windows
    Added windows98
    Added floppy
    Added failsafe
    Fatal: open /boot/miniroot.gz: No such file or directory[/quote]

    Edit:
    Should have read the entire screen. Turns out, the problem is, that it was using my mandrake kernel.

Similar Threads

  1. Lilo not booting and showing 99 99 99 99 99 99 99....
    By rrfish72 in forum General Support
    Replies: 4
    Last Post: 09-11-2004, 06:44 AM
  2. A problem when booting with lilo...
    By AdmiralJonB in forum Hdd Install / Debian / Apt
    Replies: 0
    Last Post: 06-28-2004, 07:45 AM
  3. Lilo configuration for booting xp/knoppix
    By Daedaleus in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 02-05-2004, 07:21 PM
  4. Knoppix 3.3 HDbased install problem.
    By Durand Hicks in forum General Support
    Replies: 5
    Last Post: 02-04-2004, 07:42 PM
  5. HDbased knoppix:Unable to determine video adapter
    By ktheking in forum General Support
    Replies: 4
    Last Post: 07-03-2003, 01:23 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
  •