LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 10-08-2006, 12:19 PM   #1
CheeseMonger
LQ Newbie
 
Registered: Sep 2006
Distribution: Slackware 10.2 KDE gui
Posts: 16

Rep: Reputation: 0
Question a quandry involving usb only install of slackware 10,2


Hi,

I'm working on a project and was wondering if anyone could help.

I'm trying to install Slackware 10.2 on to a 1gb flash drive (to small i know, but thats not the problem) I used Fdisk to partition the usb drive into a linux partition with a swap partition (swap being 258mb regular partition being 750mb) and it succfucly writes to the drive making the partitions, However when i go into setup it reconizies the drive as formated as fat16. Is there a way to format the Usb device to ect2 with out using setup?

(also i was thinking of using a seprate 256mb flash drive as the swap to free up that space on the 1gb flash drive)

Thanks in advance for your help,

CheeseMonger
 
Old 10-08-2006, 12:26 PM   #2
samac
Senior Member
 
Registered: Mar 2004
Location: Westray, Orkney
Distribution: Slackware64-14.1 (multi-lib) KDE 4.11.4
Posts: 1,422

Rep: Reputation: 137Reputation: 137
I take it you are running a linux system, it doesn't say in your profile.

From the command line, with your USB drive plugged in, but not mounted, and as root.

Quote:
mke2fs /dev/hda1
This assumes that the 750mb partition is the first on the drive.

Read the man page for formatting options.

Samac
 
Old 10-08-2006, 12:58 PM   #3
CheeseMonger
LQ Newbie
 
Registered: Sep 2006
Distribution: Slackware 10.2 KDE gui
Posts: 16

Original Poster
Rep: Reputation: 0
Question

Thanks for the Reply Samac
Sorry about the profile distro thing(i need to get on that).

I think i didnt give you enough info...

What im trying to do is install Slackware 10.2 on a Usb flash drive without using a hard drive or other computer; just a mother board, a 1gb usb flash drive, cdrom drive, and floppy disk drive. I dont want to use an Hard drive because of the nature of the project im working on.

I dont know if the mobo specs will help but here they are anyway,

Compaq deskpro EP series P600
Pentium 3 600mhz
256mb ram
L1 cache 128kb
100mhz bus speed
onboard graphics and sound
added USB 2.0 pci card
2 usb 1.0 ports (onboard)
230w power supply (posibly stepped down to 90 in finished project)

Flash Drive is a PNY 1GB attache
Extra (posible swap) flash drive is a 256mb PNY attache

Hope some of that info will help.

CheeseMonger
 
Old 10-08-2006, 01:51 PM   #4
samac
Senior Member
 
Registered: Mar 2004
Location: Westray, Orkney
Distribution: Slackware64-14.1 (multi-lib) KDE 4.11.4
Posts: 1,422

Rep: Reputation: 137Reputation: 137
When you run setup it is from the command line of the installer, try running mke2fs /dev/sda1 before you run setup.

I do not know if this will work because I do not know if mke2fs is included in the boot.

samac
 
Old 10-08-2006, 02:44 PM   #5
CheeseMonger
LQ Newbie
 
Registered: Sep 2006
Distribution: Slackware 10.2 KDE gui
Posts: 16

Original Poster
Rep: Reputation: 0
Lightbulb It worked....sorta....

....I had to change /dev/sda1 to /dev/sda for what ever reason...weird. After that tho the mke2fs command worked!

now the install reconizes the usb as formated for linux, Thanks a lot!

Ill post here again when i get slackware 10.2 running on the machine.

thanks again,
CheeseMonger
 
Old 10-09-2006, 07:57 AM   #6
ledow
Member
 
Registered: Apr 2005
Location: UK
Distribution: Slackware 13.0
Posts: 241

Rep: Reputation: 34
And, just as a side note, swap on a flash drive is quite a bad idea. Swap is constantly changing (it's effectively slow RAM) and Flash drives really don't take kindly to the same files changing an awful lot, not even those with the technology to cope with it.

This is a sure way to kill your Flash drive. Omit the swap altogether. Unless you've got less than about 512Mb RAM in the machines you are running it, you can live without swap at all.
 
  


Reply

Tags
usb


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
Install slackware from USB drive. kd5pbo Slackware - Installation 2 10-05-2006 06:53 AM
how install slackware 10.2 on external usb hd??? morpix Linux - Newbie 6 12-12-2005 04:23 PM
URGENT: File Permission Quandry naesyllek Linux - Enterprise 2 08-27-2005 06:07 AM
IPtables Quandry caps_phisto Linux - Security 1 04-18-2005 02:19 AM
Dual Boot Modem Quandry james91911 Linspire/Freespire 0 12-27-2004 06:48 PM


All times are GMT -5. The time now is 07:33 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