The Lizard Lounge
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsCommunityThe Lizard Lounge

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
  #31  
Old August 19th, 2006, 11:38 PM
Ann Omally Ann Omally is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Aug 2006
Location: colorado
Posts: 22 Ann Omally User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 8 m 16 sec
Reputation Power: 0
better than my idea but here goes

My idea would have been to have a bare no frills command line only install of the / filesystem on the internal HD, boot that and mount the full goodies, all written on the external, then chroot to that.
A neat little side option to that would be to have the NT swapfile on the USB drive and the Linux swap partition on the internal HD, maybe run NT programs, including the swap file, in WInE? It sounds just crazy enough to be worth trying.

Quote:
Originally Posted by punkrawkpat
Let me start by saying that not only is it possible to install and run linux from an external USB drive, I am doing it right now. To date I have successfully installed Suse, Fedora and Ubuntu on an external drive, as well as having Frugalware and PCLinuxOS on my internal HDD, all available through boot options in GRUB.

You would be right in assuming that if your BIOS has USB boot support, there shouldnt be a problem at all. The thing with Linux is that most distributions don't have USB support loaded into the kernel during the boot phase, so you will generally come across such errors as the root drive not being found, etc etc etc.

You can easily overcome this by creating an INITRD Ramdisk that will force the kernel to preload USB support during boot.

In the case of suse, you do this by:

1. Install Suse to the USB device (/sda, or sdb etc) - make sure you select to have the grub bootloader installed on the USB drive too, and not the Master drive.
2. Boot from the CD into Rescue mode
3. Issue the following commands:

'mkdir /mnt/sysimage'
'mount /dev/sdaX /mnt/sysimage'
'chroot /mnt/sysimage'
NOTE: sdaX refers to the partition u installed Suse on and the mapping of the USB drive (could be /sdb or similar too).

4. Use VI to edit the following file - /etc/sysconfig/kernel'
5. Add the following into the quotes at the line that has: INITRD_MODULES=" "
ehci-hcd
ohci-hcd
uhci-hcd
sd_mod
usb-storage


THIS LINE SHOULD NOW LOOK LIKE THIS:

INITRD_MODULES="reiserfs ehci-hcd ohci-hcd uhci-hcd usb-storage sd_mod"

6. Issue the following commands:

'mount -tproc none /proc'
'mkinitrd'

7. Add the kernel and initrd image to the boot grub loader on the master boot record (NOTE: for the initrd line, just add initrd (hd1,6)/boot/initrd - where hd1,6 is relevant to your partition setup)

A typical default Suse 9.2 install grub line for this setup would look like below (be sure to substitute according to your configuration):

title Suse 9.2 (USB)
kernel (hd1,1)/boot/vmlinuz-2.6.8-24-smp ro root=/dev/sda2
initrd (hd1,1)/boot/initrd

8. REBOOT!!!

The steps for other distros are a bit different, but the purpose of the exercise is the same. If u need help with another distro, I can provide individual steps for that too.

Reply With Quote
  #32  
Old November 13th, 2006, 10:39 AM
yanqui yanqui is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Aug 2006
Posts: 3 yanqui User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 16 m 33 sec
Reputation Power: 0
Quote:
Originally Posted by infamous-online
why would want to install linux on a usb drive. that would kill your performance big time, you are better off buying a scsi or regular hd.


I'm trying to do it because the computer I use is a laptop. The main drive must be a windows drive because of compatibility with other things I work on--like my job. Obviously performance is not the only thing one considers when attempting this.

Reply With Quote
  #33  
Old November 14th, 2006, 10:31 AM
yanqui yanqui is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Aug 2006
Posts: 3 yanqui User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 16 m 33 sec
Reputation Power: 0
Lemme ask this--when you're through, is it necessary to have the usb drive hooked up to boot at all, for example, if you want to boot to Windows without the linux; I forgot to ask that at the beginning of the exercise, but I don't want to have to ALWAYS have the external drive hooked up. I'd like to be able to boot to windows without the ext. drive hooked up. Is that possible?

Reply With Quote
  #34  
Old January 1st, 2008, 08:15 PM
skane496 skane496 is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2008
Posts: 1 skane496 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 6 m 19 sec
Reputation Power: 0
Help!

Can anyone tell me how to install Fedora 8 onto an external hard drive, WITHOUT installing ANY boatloader onto my internal HD.?

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsCommunityThe Lizard Lounge > Linux Install (SuSE) on an external USB drive


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway