LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices


Reply
  Search this Thread
Old 11-19-2017, 07:14 PM   #1
kcynice
Member
 
Registered: Sep 2008
Distribution: Slackware
Posts: 154

Rep: Reputation: 25
Is there a fully documents about how to install slackware into a usb storage


I installed my slackware into my ssd harddisk with only 14GB space,
it's too small to hold the slackware if there were too many apps
installed. and I also want to try the new version of the slackware,
so, i want to install a new one on a usb device.
But, it can't work, a panic at early booting:
Code:
Kernel panic - not syncing: VFS: Unable to mount the rooot fs on unknown block(0,0)
I think it should because the rootfs was not ready while mounting it,
usb module has not ready so far. So, i think i will have to use initrd.
However, its my first time to using initrd booting, and the readme about
it in slackware installation dvd was too short to handle it.
So, as the topic, if there is a fully document for that?
thanks.
 
Old 11-19-2017, 08:39 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,257
Blog Entries: 28

Rep: Reputation: 6119Reputation: 6119Reputation: 6119Reputation: 6119Reputation: 6119Reputation: 6119Reputation: 6119Reputation: 6119Reputation: 6119Reputation: 6119Reputation: 6119
There's an article at the Slackware wiki. A web search will turn up other useful links.

https://www.slackwiki.com/Install_Sl...SB_Flash_Drive

Last edited by frankbell; 11-19-2017 at 08:41 PM.
 
Old 11-19-2017, 09:08 PM   #3
kcynice
Member
 
Registered: Sep 2008
Distribution: Slackware
Posts: 154

Original Poster
Rep: Reputation: 25
Quote:
Originally Posted by frankbell View Post
There's an article at the Slackware wiki. A web search will turn up other useful links.

https://www.slackwiki.com/Install_Sl...SB_Flash_Drive
Im sorry, might be I did not describe my problem well.
Yes, I can install slackware via usb storage ok, and my real problem is install slackware into usb storage.
A right method to make a suitable initrd.gz for booting slackware rootfs installed on a usb storage.
Thanks
 
Old 11-20-2017, 01:27 AM   #4
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Unless you're wanting to do a ton of work, it would be much easier to use Alien Bob's Slackware Live with persistence enabled.

Otherwise, you'd need to ensure all devices in your lilo and fstab are using UUIDs, and you may need to generate an initrd. But really, it's probably not worth it to do it that way (unless you're really wanting the learning experience). Alien Bob's Slackware Live is great and there's basically no configuration needed on your part to install it once you run the command to "install" it to your USB device.

Last edited by bassmadrigal; 11-20-2017 at 08:18 AM. Reason: You definitely need an initrd since you'd be using UUIDs... brain fart
 
Old 11-20-2017, 07:44 AM   #5
igadoter
Senior Member
 
Registered: Sep 2006
Location: wroclaw, poland
Distribution: many, primary Slackware
Posts: 2,717
Blog Entries: 1

Rep: Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625
You right. I remember I posted similar thread about installing and running Slackware on usb pendrive (8GB), it worked , however pendrive goes very hot. As I remember you need to create initrd.gz and add to it kernel modules responsible for usb devices.

Edit: this is thread I mentioned
https://www.linuxquestions.org/quest...ic-4175599351/

Last edited by igadoter; 11-20-2017 at 10:11 AM.
 
Old 11-20-2017, 09:51 PM   #6
kcynice
Member
 
Registered: Sep 2008
Distribution: Slackware
Posts: 154

Original Poster
Rep: Reputation: 25
Quote:
Originally Posted by bassmadrigal View Post
Unless you're wanting to do a ton of work, it would be much easier to use Alien Bob's Slackware Live with persistence enabled.

Otherwise, you'd need to ensure all devices in your lilo and fstab are using UUIDs, and you may need to generate an initrd. But really, it's probably not worth it to do it that way (unless you're really wanting the learning experience). Alien Bob's Slackware Live is great and there's basically no configuration needed on your part to install it once you run the command to "install" it to your USB device.
Yes, I misunderstood the "live", i did not know it can be change while using it.
I tried and found it so easy to try. thanks.
 
Old 11-20-2017, 10:36 PM   #7
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by kcynice View Post
Yes, I misunderstood the "live", i did not know it can be change while using it.
I tried and found it so easy to try. thanks.
Yeah, if you burn it to a disc or use dd to copy it to a drive, any changes won't survive a reboot, but if you use his script, it can set it up with persistence enabled so any changes will survive reboots.

I didn't write this specifically for you, since it seems you're now up and running, but just for any others who may come across this thread.
 
Old 11-21-2017, 05:53 AM   #8
kcynice
Member
 
Registered: Sep 2008
Distribution: Slackware
Posts: 154

Original Poster
Rep: Reputation: 25
Quote:
Originally Posted by bassmadrigal View Post
Yeah, if you burn it to a disc or use dd to copy it to a drive, any changes won't survive a reboot, but if you use his script, it can set it up with persistence enabled so any changes will survive reboots.

I didn't write this specifically for you, since it seems you're now up and running, but just for any others who may come across this thread.
Yes, it works now.
However, I still want to know how to make the right initrd.gz to make my original installed slackware booting from my USB harddisk, not only my usb stick storage.
Any information?
Regards
 
Old 11-21-2017, 06:43 AM   #9
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
You would need to convert your lilo and fstab into using persistent names instead of /dev/sd*. I wrote a SlackDocs page covering that. Hopefully it will provide you the information you need.

How to configure fstab and lilo.conf with persistent naming
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
I want to install a fully encrypted Slackware installation :P NaTTaN Slackware - Installation 2 10-25-2012 07:44 PM
[SOLVED] bootable usb drive for fully encrypted slackware? jelezarov Slackware 8 02-18-2010 07:02 AM
Slackware won't fully boot after install MRobW2 Slackware 2 08-23-2006 05:18 PM
Is there a way I can mount an mp3 player and other usb storage on slackware johnathan Linux - Newbie 5 07-20-2006 11:46 AM
Slackware 10, USB Storage, and CD/DVD Burning arcadejedi Slackware 9 12-05-2004 12:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation

All times are GMT -5. The time now is 02:41 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration