-
questions on install to usb disk
All,
I'd like to install knoppix onto an usb disk so that I can boot from the usb disk on any PC box.
Now my method is to copy /boot directory and KNOPPIX/KNOPPIX onto the disk, and then boot it with GRUB.
But I think it is better to install knoppix into usb disk, so I could add more packages, save my configuration and other customization. I have not hd-install knoppix before.
I want to Can hd-install knoppix automatically check hardware and config as the CD version?
Any suggestions?
Regards,
-
I have not done trhis myself, but it should worlk fine, as long as there are no scsi devices pluged to the computer. Also the computer that you want it to run on, has to support boot from usb device.
The reason that scsi devices might be a problem is that usb storage devices registers as scsi device.
An example.
You install knoppix on your usb device (sda)
You now move the usb device to another computer useing scsi harddisks.
You boot up and gets a kernel panic. Cant find rootfs
Dhis is because the scsi harddisks gets sda and your usb harddisk is now sdb
However i have never tryed so i'm guessing here.
To install knoppix with hardware detection just run:
sudo knoppix-installer
and select knoppix in the installetion options.
-
Senior Member
registered user
I recently asked this question (within the last month) and got some great replies that I have not yet had an opportunity to try out. I will try to find the thread and edit this post to include the link, but if you're impatient or if I forget, you can do a search. I know that eco2geek and a kind fellow named Gilles helped me out, and it was within the last month or so.
Ah, yes, here it is: http://www.knoppix.net/forum/viewtop...?p=53163#53163
jd
-
Originally Posted by
Gozar
The reason that scsi devices might be a problem is that usb storage devices registers as scsi device.
An example.
You install knoppix on your usb device (sda)
You now move the usb device to another computer useing scsi harddisks.
You boot up and gets a kernel panic. Cant find rootfs
Dhis is because the scsi harddisks gets sda and your usb harddisk is now sdb
I think that's not a big problem if using grub. Because grub could specify the device at boot time.
-
Originally Posted by
j.drake
I recently asked this question (within the last month) and got some great replies that I have not yet had an opportunity to try out. I will try to find the thread and edit this post to include the link, but if you're impatient or if I forget, you can do a search. I know that eco2geek and a kind fellow named Gilles helped me out, and it was within the last month or so.
Ah, yes, here it is:
http://www.knoppix.net/forum/viewtop...?p=53163#53163
jd
thanks,
I guess my idea is somewhat different with yours. What I want is to boot from USB disk in which a real linux (knoppix) is installed. not from the ISO image or the KNOPPIX loopback file.
Currently I have successfully booted from loopback file in USB disk with GRUB.
Anyway, I will try to do "sudo knoppix-installer" as Gazar suggested to install a real knoppix into the USB disk, and see if it can fulfil my requirements.
-
I had done hdd-install with 'knoppix' as option. However, I can't boot it from usb disk while the kernel tell me can't find root fs.
I have installed it onto /dev/sda1. Any my grub.conf is like:
root (hd0,0)
kernel /boot/vmlinuz root=/dev/sda1 lang=en
initrd /boot/initrd.img
In the boot process, the kernel complained that the root fs can't be found. then kernel panic.
I guess it is because the usb device has not been detected before kernel want to mount root fs.
Any solutions?
Regards,
-
After using modified minirt24.gz in knoppix CD as the initrd, I could boot the hdd-install from a USB disk successfully.
The point is to load usb-related module into kernel during the initrd stage.
-
After using modified minirt24.gz in knoppix CD as the initrd, I could boot the hdd-install from a USB disk successfully.
The point is to load usb-related module into kernel during the initrd stage.
Halo,
Could you please clearly explain how to install Knoppix to a USB disk?
-
Originally Posted by
johnqgalt
Halo,
Could you please clearly explain how to install Knoppix to a USB disk?
1. First, your computer can boot from usb driver
2. The knoppix I used is 3.4.
3. Install grub into your usb driver, please refer http://www-106.ibm.com/developerwork...lnxw09FireBoot or http://www.freewebs.com/tsj/bootingUSB_ldp_v0.1.htm
4. Install knoppix into USB driver with options "knoppix", I didn't try other options, may work also.
5. Copy minird24.gz in knoppix cd and uncompress to a temprory dir, then mount to a loop directory.
For example, mount -oloop minird24 /minird,
Then modify /minird/linuxrc to remove some unnecessary tasks. Dont remove those lines load usb related kernel modules.
Umount /minird and then copy minird24 to /boot directory
I didn't try 2.6 kernel, maybe work too.
6. Modify grub menu to point to kernel images and initrd.
For example,
root (hd0,0)
kernel /boot/vmlinuz-2.4.26 root=/dev/hda1 vga=0x317 lang=en
initrd /boot/minird24
Note:
There is one minor problem for me, each time when I boot, the XFree86 config file doesn't update automatically. I have to remove it manual and reboot.
-
Thanks, Halo!
Thank you for the reply, Halo. This guide also proved helpful:
Boot KNOPPIX from an USB Memory Stick
http://rz-obrian.rz.uni-karlsruhe.de/knoppix-usb/
Similar Threads
-
By rniles in forum Hdd Install / Debian / Apt
Replies: 0
Last Post: 12-20-2004, 04:21 AM
-
By c123 in forum Hdd Install / Debian / Apt
Replies: 10
Last Post: 04-20-2004, 09:31 AM
-
By binarybum in forum Hdd Install / Debian / Apt
Replies: 7
Last Post: 04-10-2004, 04:10 PM
-
By bigjohn in forum Hdd Install / Debian / Apt
Replies: 2
Last Post: 09-27-2003, 12:33 PM
-
By Slo in forum General Support
Replies: 9
Last Post: 08-15-2003, 06:31 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
-
Forum Rules
Samsung Galaxy Tab A8 10.5" SM-X200 64GB Wifi Only Tablet Open Box
$139.99
BRAND NEW Samsung Smart Book Cover Galaxy Tab S9 | S9 5G
$57.99
Samsung - S Pen Creator Edition - White
$38.00
[ BULK LOT OF 10 ] SSD 500GB Samsung, Micron, Crucial, WD, SK Hynix.
$239.99
New Samsung 2.5" 870 EVO 500GB SATA III SSD MZ-77E500 Solid State Drive
$54.99
For Samsung Galaxy Tab A8 10.5 SM-X200/X205/X207Folio Leather Cover Case Stand
$9.99
Original Samsung Book Cover for Samsung Galaxy Tab S8 Ultra / S8 Ultra 5G-Black
$49.99
128GB SAMSUNG (4 X 32GB) 2Rx4 PC4-2400T DDR4 ECC REGISTERED SERVER RAM
$129.95
OEM Samsung Galaxy Tab S9 Ultra 14.6" Book Cover Keyboard, Black, EF-DX915UBEGUJ
$199.99
Samsung Galaxy Chromebook 2 13.3" FHD Touch i3-10110U 8GB 128GB ~ RED ~ NIB
$299.99