-
Problem with "root=" kernel command-line argument
So I ran the knoppix-installer script and successfully got a working Knoppix filesystem installed onto my USB hard disk, /dev/sda2. The phase of the installation where the boot disk is created failed, which is no big problem since I don't think this machine can boot from a USB floppy.
My plan was to boot from the CD again with the boot command "knoppix root=/dev/sda2". This doesn't work - Knoppix just boots into it's regular mode, using the uncompressed root drive image.
It's as if the kernel ignores the root= parameter.
I can actually boot from a Gentoo CD with the LILO command "gentoo root=/dev/sda2" and this *works*. So I know that the hard drive install worked correctly.
Anyone know why I can't get the parameter to be adhered to? Thanks.
-
Senior Member
registered user
Re: Problem with "root=" kernel command-line argum
![Quote](images/misc/quote_icon.png)
Originally Posted by
LukeyBoy
I can actually boot from a Gentoo CD with the LILO command "gentoo root=/dev/sda2" and this *works*. So I know that the hard drive install worked correctly.
Very very interesting, the fact of being able to pass a boot time argument to boot/have your root on an sd* hard drive :)) I have no internal HDD in my laptop, and have to use an external firewire drive (this is where Linux is cool - try doing this trick with Windows!).
Sounds as though I shold try out Gentoo, but I've put a fair amount of effort in learning about the debian way of doing things (and this is after a try out of Mandrake 18 months ago or so)... And one huge advantage of Knoppix is these forums - support here is good.
To get back to your question - I don't know the answer, but I can tell you how I and a few others use the Knoppix CD to boot (well technically move root) to the external 1394 hard drive. The technique was originally found by tinker, see this post for more info http://knoppix.net/forum/viewtopic.php?t=6463
Code:
knoppix single #at boot prompt
sudo su
lsmod #check firewire/1394 modules are present
/mnt/floppy/rescan-scsi-bus.sh #run a script from floppy to find my hard drive, apparently this should not be needed for 2.6
mkdir /mnt/new_root
mount /dev/sda1 /mnt/new_root
mkdir /mnt/new_root/mnt/old_root #required the first time only, not needed for subsequent boots
cd /mnt/new_root
pivot_root . /mnt/new_root/mnt/old_root
mount /proc /proc -t proc
swapon -a
init 5
There are a couple of problems with this approach - it's a pain to type all the commands each time, you need to set the hostname, I'm not sure if the ramdisk is destroyed afterwards nad the RAM given back to the system. But hey it works. But it seems the Gentoo way is better ;)
-
Senior Member
registered user
I shoulld add that my BIOS does not give me the choice of booting from USB or Firewire, I can only boot from Floppy or CD-ROM.
-
No, I'm actually just using the Gentoo kernel to boot since it accepts the root= parameter. It's still a Debian system - in fact I'm posting from it right now (albeit with the Links browser).
Similar Threads
-
By maxcruiver in forum Hdd Install / Debian / Apt
Replies: 1
Last Post: 04-02-2005, 06:54 PM
-
By MrBigTime in forum Hardware & Booting
Replies: 2
Last Post: 02-14-2005, 11:35 AM
-
By MrBigTime in forum General Support
Replies: 1
Last Post: 02-14-2005, 01:42 AM
-
By ix86i in forum Customising & Remastering
Replies: 1
Last Post: 10-30-2004, 12:16 PM
-
By geebee2000 in forum Hardware & Booting
Replies: 9
Last Post: 05-21-2003, 07:29 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
![A8PicoCart Kit Atari 130 65 XE 800 600 XL unocart clone multicart cartridge game picture](/store/img/g/uAQAAOSwhaxmVnIS/s-l225/A8PicoCart-Kit-Atari-130-65-XE-800-600-XL-unocart-.jpg)
A8PicoCart Kit Atari 130 65 XE 800 600 XL unocart clone multicart cartridge game
$19.95
![SIO2PC Atari 400 800 XL XE Drive Emulator picture](/store/img/g/sQ8AAOSwLqZmTSDZ/s-l225/SIO2PC-Atari-400-800-XL-XE-Drive-Emulator.jpg)
SIO2PC Atari 400 800 XL XE Drive Emulator
$15.85
![Atari Power Cube 800XL, 600XL, 65XE, 130XE USB-C Power Supply PSU picture](/store/img/g/YVgAAOSwe-pmGvcM/s-l225/Atari-Power-Cube-800XL-600XL-65XE-130XE-USB-C-Powe.jpg)
Atari Power Cube 800XL, 600XL, 65XE, 130XE USB-C Power Supply PSU
$11.25
![Rana Systems 1000 Atari Compatible Floppy Disk Drive System w/cables. Powers On picture](/store/img/g/3dEAAOSw4EFma4Kg/s-l225/Rana-Systems-1000-Atari-Compatible-Floppy-Disk-Dri.jpg)
Rana Systems 1000 Atari Compatible Floppy Disk Drive System w/cables. Powers On
$139.99
![Atari 800 Home Computer, 1050 Disk Drive, 1027 Printer, Koala Pad w/Pen & More picture](/store/img/g/XawAAOSw-rlmccHd/s-l225/Atari-800-Home-Computer-1050-Disk-Drive-1027-Print.jpg)
Atari 800 Home Computer, 1050 Disk Drive, 1027 Printer, Koala Pad w/Pen & More
$449.95
![Atari ST SUPRADRIVE 20Mb HD HDD Supra Hard Disk Drive KL picture](/store/img/g/qJ0AAOSwyWVmbxLH/s-l225/Atari-ST-SUPRADRIVE-20Mb-HD-HDD-Supra-Hard-Disk-Dr.jpg)
Atari ST SUPRADRIVE 20Mb HD HDD Supra Hard Disk Drive KL
$64.99
![Vintage Atari 65XE Computer with Power Adapter and RF Cable - Tested & Working picture](/store/img/g/EqIAAOSwjtdmccV7/s-l225/Vintage-Atari-65XE-Computer-with-Power-Adapter-and.jpg)
Vintage Atari 65XE Computer with Power Adapter and RF Cable - Tested & Working
$159.95
![Vintage Atari 800 Computer System - UNTESTED AS IS - picture](/store/img/g/itwAAOSwkKdmbL3V/s-l225/Vintage-Atari-800-Computer-System-UNTESTED-AS-IS-F.jpg)
Vintage Atari 800 Computer System - UNTESTED AS IS -
$179.95
![Atari Computer 8 Bit XF551 Floppy Disk Drive Power Cord & Manual FOR PARTS READ picture](/store/img/g/ExUAAOSwnsBmbRDh/s-l225/Atari-Computer-8-Bit-XF551-Floppy-Disk-Drive-Power.jpg)
Atari Computer 8 Bit XF551 Floppy Disk Drive Power Cord & Manual FOR PARTS READ
$199.90
![Atari XF551 Floppy Disk Drive Turbo Rare Untested XE XL 400 800 with manual picture](/store/img/g/nKsAAOSwYVVmZzcB/s-l225/Atari-XF551-Floppy-Disk-Drive-Turbo-Rare-Untested-.jpg)
Atari XF551 Floppy Disk Drive Turbo Rare Untested XE XL 400 800 with manual
$300.00