Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
10-10-2014, 02:15 PM
|
#1
|
Senior Member
Registered: Jul 2004
Location: Asuncion, Paraguay, South America
Distribution: Slackware
Posts: 1,132
|
Slack on a thumb drive? Suggestions and pointers requested
Hi there,
Someone gave me a 128 GB thumb drive. I'd like to use it as a bootable thumb drive with full-blown Slackware on it. The thing is, I have no idea on how to do it except for the vague notion that it is indeed possible. So, how can I do it? If you can give links or pointers to information that would be really appreciated.
Some information that I would like to have:
- How to boot Slackware from a thumb drive
- How to define swapspace and tmp drives so that I could use local storage instead of a thumb drive (I'd like to avoid frying my drive too soon).
Thanks in advance!
|
|
|
10-10-2014, 02:29 PM
|
#2
|
Member
Registered: Nov 2013
Posts: 748
Rep: 
|
How to boot Slackware from a thumb drive
never did try to install lilo on an usb device
however, Didier Spaier shared some knowledge in this thread
How to define swapspace and tmp drives so that I could use local storage instead of a thumb drive (I'd like to avoid frying my drive too soon).
by editing /etc/fstab
as with lilo, you would also want to use uuid's instead of /dev/ node
|
|
1 members found this post helpful.
|
10-10-2014, 02:39 PM
|
#3
|
Member
Registered: Dec 2013
Location: Moscow, Russia
Distribution: Slackware, EndeavourOS
Posts: 110
Rep: 
|
Quote:
Originally Posted by sombragris
How to boot Slackware from a thumb drive
|
I did that for my netbook. It's exactly the same as you would do when installing to HDD. You partition your thumb drive, you choose those partitions, you install lilo to the thumb drive's MBR. In order to boot make sure to have these two things: ramdisk (initrd; yes, even if you use the huge kernel) and rootdelay kernel option (rootdelay=5 did the trick for me). It is needed so the kernel could find and mount the root filesystem.
Quote:
Originally Posted by sombragris
How to define swapspace and tmp drives so that I could use local storage instead of a thumb drive (I'd like to avoid frying my drive too soon).
|
What genss said.
|
|
1 members found this post helpful.
|
10-10-2014, 02:42 PM
|
#4
|
LQ Addict
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,417
Rep: 
|
Hi Eduardo,
Google helped me find an old post answering a similar question.
I think you could try the same method, just replacing "external HDD" with "USB stick".
Probably the
Code:
append="rootdelay=30"
is not necessary in case of an USB stick, that doesn't need time to spin (or at least you can decrease that delay).
Also, it's better, before chroot in step # 5 to insert a step #4bis. Type as root:
Code:
mount --bind /proc /mnt/proc
mount --bind /sys /mnt/sys
mount --bind /dev /mnt/dev
so these pseudo-filesystems be accessible from the USB key.
Last edited by Didier Spaier; 10-10-2014 at 02:50 PM.
|
|
1 members found this post helpful.
|
10-11-2014, 11:44 AM
|
#5
|
Senior Member
Registered: Jul 2004
Location: Asuncion, Paraguay, South America
Distribution: Slackware
Posts: 1,132
Original Poster
|
Thank you! these links are really useful. Now, a question: how would be LILO better than ISOLINUX for bootable media?
|
|
|
10-11-2014, 11:48 AM
|
#6
|
Member
Registered: Dec 2013
Location: Moscow, Russia
Distribution: Slackware, EndeavourOS
Posts: 110
Rep: 
|
Quote:
Originally Posted by sombragris
Now, a question: how would be LILO better than ISOLINUX for bootable media?
|
Actually, it doesn't matter what boot manager you use. Slackware comes with a variety of those, it just installs lilo by default, but you are free to use what you think is more convenient.
|
|
1 members found this post helpful.
|
All times are GMT -5. The time now is 11:39 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|