LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-26-2006, 06:59 AM   #1
binary1011100
Member
 
Registered: Apr 2006
Location: Manchester, UK
Distribution: Slackware, Debian
Posts: 89

Rep: Reputation: 15
Wink Portable Linux for external harddrives


Hi I am a nerd, and i want to carry a linux distro with me around my school in my pocket everywhere i go so that i may enjoy the amazing experience that is linux everywhere i go (+ i now h8 using windows)

Anyway I have tried many options and so far no success so I wondered if anyone had any fresh ideas on how this could be done please post as many ideas as you possibly can.

I imagine lots of people have done this
 
Old 04-26-2006, 07:23 AM   #2
bernied
Member
 
Registered: Mar 2006
Location: Edinburgh, UK
Distribution: debian
Posts: 304

Rep: Reputation: 30
I installed slax onto a usb stick. It worked for a while then stopped and I haven't been bothered to fix it.

Problem is, most PCs bios won't be set up to boot to usb, so you either have to edit the bios settings (maybe a bit dodgy if it's not your pc), or use a live-cd instead. For live cds, I recommend knoppix. And if that's not pocket-sized enough, slax make a small live-cd, for small cds, they've even got one for credit-card cd format. Would that be nerdy enough?

You could have a live-cd with all your stuff installed on a usb stick, then write a startup script (and build into cd-image) that searched for your usb stick, then mounted it. That would be pretty nerdy too.

The slax site has some interesting info on this stuff.
http://slax.linux-live.org/

The old fashioned way is to install grub on a floppy, which would let you boot to pretty-much anything, because almost every bios will try the floppy before the hard-drive (some won't go for the cd-rom).
 
Old 05-03-2006, 07:03 AM   #3
binary1011100
Member
 
Registered: Apr 2006
Location: Manchester, UK
Distribution: Slackware, Debian
Posts: 89

Original Poster
Rep: Reputation: 15
Unhappy Help me

K, i tried some of that i put slax on my external HDD and it came up with " Kernel panic:unable to mount root fs "

Can anybody help me solve this problem i think it's got something to do with the fact that I'm trying to load the FS of a USBDrive but i think i might need a special kernel or xinitrd to do this can anybody help me find the right on i tried a scsi kernel but that didn't seem to work

PLEASE can anybody help me, this is my only answer short of bringing my PC to school, and I would get beaten up for that and the PC would get stolen
 
Old 05-03-2006, 07:30 AM   #4
bernied
Member
 
Registered: Mar 2006
Location: Edinburgh, UK
Distribution: debian
Posts: 304

Rep: Reputation: 30
I found the following:
Quote:
Once you have done this, type the following:

'nano /target/etc/mkinitrd/mkinitrd.conf'

EDIT the line that says DELAY=0 and change it to anything over 10 (i chose 15 to be safe).

This step just ensures that the kernel will wait long enough for the USB device to appear before attempting to mount the root partition. If it doesn't
wait long enough, you will get the message " Kernel panic: Unable to sync VFS!" or something similar.
at
http://www.ubuntuforums.org/archive/...hp/t-5151.html
So this was talking about making your initrd image for booting from the usb. So you'd need to make another initrd image. I've had initrd troubles before and solved them by simply leaving the initrd out of the boot process. But I'm not sure what the ramifications of this are.

This might be old, but maybe it still applies.
This might explain why my usb install suddenly started to fail for no reason as well.
 
Old 05-03-2006, 07:38 AM   #5
ethics
Senior Member
 
Registered: Apr 2005
Location: London
Distribution: Arch - Latest
Posts: 1,522

Rep: Reputation: 45
Quote:
Originally Posted by bernied
This might explain why my usb install suddenly started to fail for no reason as well.
It may be the drive itself, they dont last forever
 
Old 05-03-2006, 07:50 AM   #6
bernied
Member
 
Registered: Mar 2006
Location: Edinburgh, UK
Distribution: debian
Posts: 304

Rep: Reputation: 30
Well maybe, but this one had only done about 4 boots, and almost no work otherwise. Are they that flimsy?
 
Old 05-11-2006, 08:52 AM   #7
binary1011100
Member
 
Registered: Apr 2006
Location: Manchester, UK
Distribution: Slackware, Debian
Posts: 89

Original Poster
Rep: Reputation: 15
Smile I did it

I've found a really easy way to get the most out of linux on a portable hdd you can install suse off the dvd then, boot of the dvd using the 'boot installed system' util, but make sure the system your installing on and the system your going to be using SUSE on have the same device reference e.g. if the system your installing it on see's your linux partition as /dev/sda2 the system you will use it on must see it as that too.

I now have a full SUSE system running smoothly @ school, and can fit nearly all the files i have @ home on the 250gb one i use at school, the next steps i'll do is to make a kernel patch and install grub so that i can boot straigjt off the HDD and use the kernel of the HDD
 
  


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
'Portable' linux to external USB hard disk? heycarnut Linux - Newbie 12 11-14-2011 09:45 AM
possible to boot linux on any machine with portable external HD?!! aw76 Linux - Newbie 2 10-13-2005 11:42 AM
Portable Linux on External Drive Matir Linux - Laptop and Netbook 3 01-05-2005 07:04 AM
USB portable harddrives: do they work? minm Linux - Hardware 3 07-20-2004 04:23 PM
external firewire harddrives mrbass Linux - Hardware 1 07-14-2004 04:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:47 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration