How do you install ON a thumbdrive?
1 Attachment(s)
Okay, I've installed Slackware on a USB stick and after reboot, it won't start. The kernel panics when trying to mount the root partition.
Most of the tutorials on the Net are for installing from a thumbdrive, not onto one, so I'm a bit puzzled. The thing is I'm trying to use the huge.s kernel from the Slackware64-14.1 install DVD, which should work, right? If I do a network boot with huge.s I can mount the root filesystem, but when I supply "huge.s boot=/dev/sda1 rdinit= ro" it will panic like in the attached pic. Am I missing something? Attachment 16571 |
I've done this before too but can't remember hahah
did you try setting /dev/sdc1 as root? |
Quote:
|
I remember when I did it I had huge problems with fstab, etc as it would run ok on one pc but on another it would panic and couldnt find itself.
Have you considered making it a live distro so it runs like Slax with/without persistence and lots less wear on USB? |
The name given to a removable device can change from start up to start up, e.g depending on what other devices are present.
To make it persistent, name it in /lilo/conf and /etc/fstab by its UUID or by its LABEL, see man lilo.conf and man fstab. Examples found in man lilo.conf: Code:
root="LABEL=MyDisk" Code:
lsblk -o NAME,UUID,LABEL,MODEL,SIZE Here are quotes from my /etc/fstab and /etc/lilo.conf in a system on an USB hard disk: Code:
bash-4.2# cat /mnt/etc/fstab PS of course you should have built in your kernel or in an initrd all drivers plus the root's file system needed to communicate with your USB key. |
Thanks for the advice Didier, but none of the options worked. (tried UUID and LABEL)
What else could I try? |
Yeah I had many issues with it too chicken76
In the meantime this is what I use to make a live iso/usb with persistence, etc similar to Slax/Porteus After installing stuff, etc you gotta do as root ln -s /usr/lib/liblzma.so /usr/lib/liblzma.so.0 or it wont work, at least for me. Noticed it panics if you try copy2ram with less than a GB of ram for me too. http://slackware-live.tuxfamily.org/-Home- Really much better anyway than having a rw HDD install on your usb with ext3/4 My USB is a 4gb fat32 Kingston Only bad thing is you gotta make remasters of the rom to keep it current but it doesnt take long and you can make your own live distro |
Yeah I had many issues with it too chicken76
In the meantime this is what I use to make a live iso/usb with persistence, etc similar to Slax/Porteus After installing stuff, etc you gotta do as root ln -s /usr/lib/liblzma.so /usr/lib/liblzma.so.0 or it wont work, at least for me. Noticed it panics if you try copy2ram with less than a GB of ram for me too. http://slackware-live.tuxfamily.org/-Home- Really much better anyway than having a rw HDD install on your usb with ext3/4 My USB is a 4gb fat32 Kingston Only bad thing is you gotta make remasters of the rom to keep it current but it doesnt take long and you can make your own live distro |
Yeah I had many issues with it too chicken76
In the meantime this is what I use to make a live iso/usb with persistence, etc similar to Slax/Porteus After installing stuff, etc you gotta do as root ln -s /usr/lib/liblzma.so /usr/lib/liblzma.so.0 or it wont work, at least for me. Noticed it panics if you try copy2ram with less than a GB of ram for me too. http://slackware-live.tuxfamily.org/-Home- Really much better anyway than having a rw HDD install on your usb with ext3/4 My USB is a 4gb fat32 Kingston Only bad thing is you gotta make remasters of the rom to keep it current but it doesnt take long and you can make your own live distro |
Quote:
To check, start you system, type Code:
lsmod|sort > lsmod1 Code:
lsmod|sort > lsmod2 Code:
diff lsmod1 lsmod2 |
Quote:
I replied to your thread instead of this one. |
All times are GMT -5. The time now is 01:17 AM. |