LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices


Reply
  Search this Thread
Old 02-21-2003, 01:12 PM   #1
cli_man
Member
 
Registered: Apr 2002
Location: New York, USA
Distribution: Redhat 7.2, 9.0 Slackware 9.1
Posts: 428

Rep: Reputation: 30
USB Flashdrive disto


http://linuxmobile.sourceforge.net/

I have seen it mentioned several times here as to whether you can boot a whole linux disto on a usb flashdrive, it looks like the link above is just for that, it is not in english so I could not make out much but take a look if you wish.
 
Old 02-21-2003, 03:05 PM   #2
ranger_nemo
Senior Member
 
Registered: Feb 2003
Location: N'rn WI -- USA
Distribution: Kubuntu 8.04, ClarkConnect 4
Posts: 1,142

Rep: Reputation: 47
Uh... Did you try the English link?

Last edited by ranger_nemo; 02-21-2003 at 03:07 PM.
 
Old 02-21-2003, 03:15 PM   #3
cli_man
Member
 
Registered: Apr 2002
Location: New York, USA
Distribution: Redhat 7.2, 9.0 Slackware 9.1
Posts: 428

Original Poster
Rep: Reputation: 30
You know I didn't really look at it, I have seen people ask about it here several times as to whether it was possible, I was looking for a good linux boot disk and happened upon that so I posted a link here for it.
 
Old 02-22-2003, 04:34 AM   #4
acid2000
Member
 
Registered: Nov 2001
Location: Exeter, UK
Distribution: Gentoo 1.4
Posts: 243

Rep: Reputation: 30
I don't think that is possible at the moment because the BIOS doesn't recognise USB as a bootable device
 
Old 02-22-2003, 05:09 AM   #5
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
MasterC and I fiddled with this in a thread once, about 6 months ago I think, I took and put Slackware A,AP,N, and some other goop on a CF card formatted ext2. Then I made a boot floppy with all of the USB support, syslinux disk, typical slack, copied over the bare.i with my bzImage, booted from the floppy to the CF card at /dev/sda1 as the root device... pain in the butt, but easily doable, makes for an awesome rescue system... some systems will boot to firewire, now that's something I want to try soon. I would keep around a Linux system on a CF card if they weren't so expensive still.

When I BIOS can boot to USB, that'll be friggin awesome...

Cheers,

Finegan
 
Old 02-22-2003, 11:29 AM   #6
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
FYI, if fin says "Pain in the butt" that means, "The average user would have one helluva time accomplishing this..."

The prices really seemed to have plateau'd didn't they? I thought they'd keep droppin, but it's about maxed out for a while I guess. I'd really like to play around on a usb-bootable system, that'd be a pretty fun toy for a while.

Another cool thing about doing this is impressing your friends. There's nothing like showing them a boot distro... on a Memory Stick!

Cool
 
Old 02-22-2003, 11:09 PM   #7
Daemonfly
Member
 
Registered: Feb 2003
Distribution: Gentoo
Posts: 63

Rep: Reputation: 15
There are newer mobos that can boot from USB, so this should be a viable project.
 
Old 02-23-2003, 04:56 AM   #8
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
Quote:
Originally posted by MasterC

The prices really seemed to have plateau'd didn't they? I thought they'd keep droppin, but it's about maxed out for a while I guess.
They keep going down as far as I can tell. 6 months ago a 128 stick was about a $1 a meg, now we're into a reasonable $50s in pricewatch.

Offhand the method I used was pretty easy: Build the obnoxious 5 disk install set for Slackware 8.1: bare.i, then root disks 4-5. On another machine compile a kernel, and a newer one, at least 2.4.19 if not 20, and add in support for all of the USB CF card readers directly into the kernel, not as modules. Make certain the bzImage you produce is less than 1.2Mb. Mount the bare.i boot disk you created and copy over the vmlinuz there with your bzImage, keep the same name. Then boot the machine with the slack install disks and just proceed with a normal install, only don't touch or even configure any of the machine's standard drives, just fiddle with /dev/sda. Best to do a "menu" install and be careful as slack doesn't really tell you ahead of time if you're running out of filesystem. Don't bother to configure lilo...

Boot the machine with the same creative usb disk you created before, passing it the argument... I think it goes:

root = /dev/sda1 rw

Something like that anyway... it'll give you a prompt with the proper syntax, its prebuilt to be a rescue disk too after all.

Then you can monkey wrench /etc/lilo.conf, give it the boot line:

boot = /dev/sda

So it'll give the CF card an MBR. Then copy your kernel from the boot disk over to /boot and give it a lilo entry. Also, you may want to take the module set you compiled on the other machine and stick it on the card and remove the 18 megs or so of stock 2.4.18 slack kernel modules. Then run /sbin/lilo and if indeed a motherboard can boot to USB, there you go, a palm of your hand sized fully functional, read-write rescue system, which beats Knoppix in that you're not chained to the CD, and beats tomsrtbt in that you have a heck of a lot more than 1.77 megs of software and kernel. It makes for an interesting little niche that might get explored more by a full distro if indeed motherboard standardize on a boot from USB option. If someone builds a good one, it'll probably carve out some userspace from RAMdisk, maybe use the Knoppix-esque RAM stealing expansion for chunky binaries such as X that would kick the snot out of a poor little USB card with all of the disk accesses.

Cheers,

Finegan

Last edited by finegan; 02-23-2003 at 05:01 AM.
 
  


Reply



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
can not mount usb flashdrive walterbyrd Debian 14 03-18-2006 12:53 PM
still more USB flashdrive problems... Lord Zoltar Linux - Hardware 8 01-22-2005 12:38 PM
USB flashdrive problems endfx Linux - Hardware 11 01-01-2005 05:40 PM
USB FlashDrive -- Again kadalz Linux - Newbie 1 10-12-2003 11:20 AM
USB setup for Buslink Flashdrive rkhartley Linux - Newbie 2 07-28-2003 11:38 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > General

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