LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
LinkBack Search this Thread
Old 10-08-2006, 02:55 PM   #1
linuxmandrake
Member
 
Registered: Sep 2004
Distribution: debian sarge 64bit (AMD)
Posts: 709

Rep: Reputation: 30
running linux off usb hdd


I have seen various tutorial on booting linux off usb even if theres no bios support using grub. Would I have any problems if I run this setup on different pcs with different hardware. I dont need sound I just need KDE? I would think I would have problems with xserver because of the different video cards.
 
Old 10-08-2006, 05:44 PM   #2
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu 10.04
Posts: 9,196

Rep: Reputation: 190Reputation: 190
I'd anticipate you'd have to reconfigure the video and sound each time.

However - you could set up X to use a low/generic resolution and driver each time, then you'll still be able to boot. Really depends what you want to use it for.

I understand that if you want to boot from an external drive on a machine that does not support this in bios, then you also need a boot-disk for the machine or a boot image etc on that machine's hard drive.
 
Old 10-09-2006, 08:29 AM   #3
linuxmandrake
Member
 
Registered: Sep 2004
Distribution: debian sarge 64bit (AMD)
Posts: 709

Original Poster
Rep: Reputation: 30
Well am only using it for programming (php no hardcore graphics involved). So all I need is KDE running at 1024*768 resolution. I 'm not bothered about the sound. I dont want any irrating messages by kde saying it cant start the sound though. Fine I'm allowed to boot from floppy. Could the boot image be on cdrom? Floppies are alitlle unreliable and god damn slow!
 
Old 10-09-2006, 02:13 PM   #4
darinbolson
Member
 
Registered: Jan 2006
Distribution: multi booting whatever I feel like. Grub rocks!
Posts: 85

Rep: Reputation: 15
does it HAVE to be KDE or would another environment work? If you have a large enough usb drive, you could use puppy on usb and have multiple saved configurations that you could choose from at boot.


oooh, I see a kde puppy at murga's website.

Last edited by darinbolson; 10-09-2006 at 02:16 PM.
 
Old 10-09-2006, 06:18 PM   #5
linuxmandrake
Member
 
Registered: Sep 2004
Distribution: debian sarge 64bit (AMD)
Posts: 709

Original Poster
Rep: Reputation: 30
not too bothered about that
 
Old 10-11-2006, 08:37 PM   #6
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu 10.04
Posts: 9,196

Rep: Reputation: 190Reputation: 190
Quote:
Well am only using it for programming (php no hardcore graphics involved). So all I need is KDE running at 1024*768 resolution.
That should be fine, so you manually set X to use the vesa driver and that resolution and only really weird configurations will be messed up. The worst that will happen is that you'll be unable to configure the soundcard (nvidia/radeon say) so you'll be forced to boot to text-only - from where you get X to use the open source drivers ... some distros will autodetect this anyway when they boot. If I were you, I'd try it an see.
Quote:
I 'm not bothered about the sound. I dont want any irrating messages by kde saying it cant start the sound though. Fine I'm allowed to boot from floppy. Could the boot image be on cdrom? Floppies are alitlle unreliable and god damn slow!
I've never personally done this, however it is quite possible to use SBM (?) on a floppy as the initial boot-loader, which can then load a decent boot image off a CD or anyplace else (i.e. the usb drive). You have quite a bit of reading to do to understand the setup required for your exact circumstances though.

I think here is a good place to start. It seems to deal with your situation quite specifically, vis:
Quote:
The article delves into two approaches. The first is a single-stage method that relies on several kernel patches that cause Linux to do a second bootup scan for emulated SCSI devices, such as USB mass storage or FireWire drives. This second scan enables the OS to identify and use drives not recognized by the BIOS but which are recognized by the kernel (kernel modules don't count, here).
The second, preferred approach involves placing the kernel and an initrd filesystem image on a boot partition recognized by the BIOS. The kernel must support initrd images -- most do. The kernel boots, mounts the initrd image on a RAM disk as the temporary root filesystem, and executes the /linuxrc script that it contains. The script then attempts to load the kernel modules needed to support the device containing the real root filesystem (the external USB/FireWire drive), and attempts to create a device file for it. When the script exits, the kernel unmounts and destroys the temporary root filesystem and mounts the real root filesystem from the external drive before proceding to boot.
... (my emphasis) sound good?

The second approach is what I was talking about - though, if you want to compile the usb driver into a custom kernel, the first approach may be better for you - especially as you don't want the "cannot activate sound" message - you could disable alsa in your custom image.

Last edited by Simon Bridge; 10-11-2006 at 08:40 PM.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Install Linux USB HDD syale Linux - Newbie 2 02-07-2006 07:34 AM
running linux without HDD filesystem steveel Linux - Newbie 2 11-29-2005 03:10 PM
USB HDD Format to use with M$ and Linux smurff Linux - General 3 09-17-2005 02:19 PM
Installing Linux to USB HDD fairyliquidizer Linux - Hardware 4 12-27-2004 02:36 PM
Install directly to HDD from iso on HDD/USB, with out burning cd vivinuthappa DamnSmallLinux 7 11-16-2004 10:03 AM


All times are GMT -5. The time now is 08:03 PM.

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
Open Source Consulting | Domain Registration