Results 1 to 6 of 6

Thread: How boot a linux kernel with help of Knoppix!

  1. #1
    Junior Member
    Join Date
    Nov 2004
    Posts
    2

    How boot a linux kernel with help of Knoppix!

    Hallo!
    I've heared you can use knoppix for booting an existing kernel on an hard disk.
    I need the paramters for the boot prompt!

    Does anybody know this functionality?

    Thanks for some help!

  2. #2
    Senior Member registered user
    Join Date
    Mar 2004
    Posts
    1,516
    most bootable linuxCD's caN do this,
    when the line boot appears type knoppix root=/dev/whaterver
    with whatever i mean that you type the disk and partition of your /, there is a 50% chance of this booting OK, if not you could still reach the partitions and edit needed files to get the system bootable again (like lilo.conf... and then run lilo)
    to do this you boot knoppix like normal. then you use chroot (remount your disk RW first) then edit lilo.conf and run lilo.

  3. #3
    Senior Member registered user
    Join Date
    Feb 2004
    Posts
    949
    Quote Originally Posted by OErjan
    most bootable linuxCD's caN do this,
    when the line boot appears type knoppix root=/dev/whaterver
    with whatever i mean that you type the disk and partition of your /, there is a 50% chance of this booting OK, if not you could still reach the partitions and edit needed files to get the system bootable again (like lilo.conf... and then run lilo)
    to do this you boot knoppix like normal. then you use chroot (remount your disk RW first) then edit lilo.conf and run lilo.
    Would it be something like

    linuz-2.6.6 root=/dev/hda1/boot

    when you type knoppix your telling what kernel to use.

  4. #4
    Junior Member
    Join Date
    Nov 2004
    Posts
    2
    Thats what i'm looking for!

    But it don't work!
    I entered:
    vmlinuz-2.6.6-1-686 root=/dev/hda5 or
    /dev/hda5/boot/vmlinuz-2.6.6-1-686 root=/dev/hda5

    but it doesn't work!
    What is wrong? Knoppix says he couldn't find the kernel!

  5. #5
    Senior Member registered user
    Join Date
    Mar 2003
    Posts
    555
    I don't think the isolinux boot loasder knoppix uses allows one to boot an arbitrary kernel off any filesystem type on the HD. It only knows about the two images you can see under boot/isolinux on your cd: linux24 & linux26.

    Like Oerjan said, if you boot one of these kernels pointing it to an existing root FS on one of your HD partitons, it'll only work reliably if you are using the same kernel revision (otherwise, the modules and programs on the HD might not correspond to the CD kernel version).

    Grub is a much more capable boot loader, which supports what you want, and more. You have a full command line available, and can explore the partitions and their contents because grub understands linux filesystems. Of course you can also boot other operating systems. Kanotix and mepis (amongst others I am sure) have switched to grub as a boot loader, which imho gives them (yet) another edge over knoppix as a rescue tool.

    Having said that, from the knoppix boot prompt, either

    linux24 root=/dev/hdaN
    or
    linux26 root=/dev/hdaN

    should at least allow you to boot and see your HD install for most machines (say 1 IDE HD, not booting from SCSI/USB). If the CD kernel is too different from the HD one, you might then discover some things don't quite work as they should.

    One possibility is using a grub boot floppy. You can crerate one from the knoppix cd, then boot from that with the full grub functionality.

  6. #6
    Senior Member registered user
    Join Date
    Feb 2004
    Posts
    949
    A grub boot floppy is probably your best bet.

    Just be sure to learn how to use it.

    It's santax is a bit weird.

Similar Threads

  1. Knoppix 5: Linux kernel does not support PPPoE?
    By wosto in forum Hdd Install / Debian / Apt
    Replies: 0
    Last Post: 04-04-2006, 09:23 AM
  2. Replies: 2
    Last Post: 12-14-2005, 08:36 AM
  3. Can I boot Knoppix with Kernel 2.6 of a USB fob ?
    By spyhome in forum Customising & Remastering
    Replies: 3
    Last Post: 08-26-2005, 02:29 PM
  4. Boot knoppix from other kernel
    By lars.tobias in forum General Support
    Replies: 2
    Last Post: 07-18-2005, 10:01 AM
  5. knoppix 3.7, kernel 2.6.9, boot from /dev/uba
    By jbreiden in forum General Support
    Replies: 0
    Last Post: 12-20-2004, 07:54 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
  •  


GIGABYTE A520M DS3H AC AMD AM4 Motherboard mATX picture

GIGABYTE A520M DS3H AC AMD AM4 Motherboard mATX

$59.99



GIGABYTE Z790 AORUS ELITE AX LGA 1700 Intel Z790 ATX Motherboard with DDR5 picture

GIGABYTE Z790 AORUS ELITE AX LGA 1700 Intel Z790 ATX Motherboard with DDR5

$189.99



Intel H310 LGA1151 8-9th Gen DDR4 M.2 NVMe mATX Motherboard IO Shield Battery picture

Intel H310 LGA1151 8-9th Gen DDR4 M.2 NVMe mATX Motherboard IO Shield Battery

$54.99



ASUS PRIME Z490-V Motherboard Intel Z490 10th gen DDR4 LGA 1200 ATX w/ IO Shield picture

ASUS PRIME Z490-V Motherboard Intel Z490 10th gen DDR4 LGA 1200 ATX w/ IO Shield

$84.99



GIGABYTE B365 HD3 LGA1151 Intel 9th Gen motherboard picture

GIGABYTE B365 HD3 LGA1151 Intel 9th Gen motherboard

$59.99



ASUS PRIME B360M-C MicroATX Intel LGA1151 DDR4 HDMI VGA USB RJ-45 Audio picture

ASUS PRIME B360M-C MicroATX Intel LGA1151 DDR4 HDMI VGA USB RJ-45 Audio

$34.99



MSI B550M PRO-VDH Micro-ATX Motherboard - AMD AM4, Ryzen 5000/4000/3000 Ready, P picture

MSI B550M PRO-VDH Micro-ATX Motherboard - AMD AM4, Ryzen 5000/4000/3000 Ready, P

$71.49



MSI - B550M PRO-VDH WIFI (Socket AM4) AMD B550 MATX DDR4 Wi-Fi 6 Motherboard ... picture

MSI - B550M PRO-VDH WIFI (Socket AM4) AMD B550 MATX DDR4 Wi-Fi 6 Motherboard ...

$89.99



ASRock IMB-X1314 LGA 1700 Intel W680 DDR4 Quad display Micro-ATX Motherboard picture

ASRock IMB-X1314 LGA 1700 Intel W680 DDR4 Quad display Micro-ATX Motherboard

$351.99



ASUS B85M-G / B85M-G PLUS LGA1150 DDR3 Micro ATX Motherboard HDMI Support 4thCPU picture

ASUS B85M-G / B85M-G PLUS LGA1150 DDR3 Micro ATX Motherboard HDMI Support 4thCPU

$45.00