LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 08-03-2006, 08:07 PM   #1
jmdlcar
Member
 
Registered: Nov 2003
Distribution: Porteus 3.0 (Slackware)
Posts: 137

Rep: Reputation: 15
Make usb hard drive bootable


I have a 2.5gb pocket usb hard drive and I like to know if I can use it to install slackware from that I could keep all the packages up to date. How can I make it bootable?
 
Old 08-03-2006, 09:13 PM   #2
drkstr
Senior Member
 
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191

Rep: Reputation: 45
I guess I don't really understand your problem.

Have you tried allready? If so, where did you run into trouble? You make the usb drive bootable just like you would any other drive, just make sure support for it is hard coded into the kernel or else you will need to use an initrd. Also, your BIOS must be able to boot from USB devices.

regards,
...drkstr
 
Old 08-04-2006, 04:25 AM   #3
aikempshall
Member
 
Registered: Nov 2003
Location: Bristol, Britain
Distribution: Slackware
Posts: 387

Rep: Reputation: 40
I would have thought that 2.5gb is a bit small for a full install of Slackware.

First -
determine if your PC can boot of a USB drive
install the bare minimum of packages, then add more if space allows.

I have Slackware running on an external 20gb USB drive with lilo installed in it's MBR. The harddrive of my laptop is as per the original - boots directly into W2000. I have raised posts on this issue and contributed to a number, search for my name and USB and work out a strategy that suits your purpose.

Good luck. It can be done. And is fairly straightforward once mastered.
 
Old 08-04-2006, 11:42 AM   #4
drkstr
Senior Member
 
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191

Rep: Reputation: 45
2.5 Gb should be more then enough. You only need a minimal install of Slackware (under 100mb should be fine) and a copy of the Slacware install directory downloaded from a mirror. You only really need the files that are on CD1 and CD2 + the install is about 1.7 GB.

regards,
...drkstr
 
Old 08-04-2006, 09:16 PM   #5
jmdlcar
Member
 
Registered: Nov 2003
Distribution: Porteus 3.0 (Slackware)
Posts: 137

Original Poster
Rep: Reputation: 15
My computer will boot from usb, but after I download what I want how do I make it bootable.
 
Old 08-06-2006, 04:27 AM   #6
aikempshall
Member
 
Registered: Nov 2003
Location: Bristol, Britain
Distribution: Slackware
Posts: 387

Rep: Reputation: 40
This is what I would suggest -

Install slackware onto the USB drive;
without rebooting compile the kernel to generate the required modules see http://www.linuxquestions.org/questi...5&pagenumber=2
for the modules required
create the initrd image with the required modules;
create a boot cd, with the kernel and initrd;
test to ensure that you can boot from the cd;
do the lilo/grub business so that you can boot into slackware from the USB drive. This is the fun bit as if you're not careful you will overwrite the boot sector of your internal hard drive. If this happens get a live distro with testdrive-static so that you can recreate the win boot thingy on the internal hard drive.

I've been running with Slackware on a 20GB USB drive for several years upgrading through various releases in the process.
 
  


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
Make a bootable Flash drive with Sandisk loninappleton Linux - Hardware 2 02-06-2006 04:02 PM
Copying one hard drive to a partition and having it bootable... how? Nebetsu Linux - Hardware 24 01-02-2006 02:07 PM
Installing grub to external USB hard drive for later use as internal hard drive dhave Linux From Scratch 2 12-10-2005 09:48 AM
can you make a usb drive bootable? citrus Linux - Newbie 4 05-16-2004 05:00 AM
Will the bootable cd's write to the hard drive? Travis86 Linux - Newbie 3 03-24-2003 12:13 AM


All times are GMT -5. The time now is 04:09 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration