LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 11-21-2011, 05:23 AM   #1
chuikingman
Member
 
Registered: Aug 2009
Posts: 91

Rep: Reputation: 16
install redhat linux 5 into usb disk


Hi,
I have 2 question.
1)how can I install the redhat linux 5 into USB disk and boot from USB disk forever.
2) how can I backup an existing redhat linux from hd to USB by disk image and make the USB bootable afterward ,
so I can use usb disk to boot the linux in another machine ....

Please advice ..
 
Old 11-22-2011, 05:14 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by chuikingman View Post
1)how can I install the redhat linux 5 into USB disk and boot from USB disk forever.
Just follow the instructions the installer gives you with respect to partitioning and formatting the right device and where to install the bootloader. If you can't taint any internal hard disk or if the bootloader should be kept with the installation anyway then the bootloader must be installed on the external USB disk. To be able to boot from the external USB disk it has to be seen as selectable medium by your BIOS and it should be set as the first medium to boot from.


Quote:
Originally Posted by chuikingman View Post
2) how can I backup an existing redhat linux from hd to USB by disk image and make the USB bootable afterward, so I can use usb disk to boot the linux in another machine
External USB disks are seen as SCSI(-emulation) devices (/dev/sd.* device names) so for the copied installation to work you need to find out (and adjust) if it uses device UIDs, labels or device names in the /boot/grub/ GRUB configuration and /etc/fstab. Again, to be able to boot from the external USB disk on another machine it has to be seen as selectable medium by that machines BIOS and it should be set as the first medium to boot from. If your external USB disk is large enough to hold what's on the internal disk you could just 'dd if=/dev/internal_disk_device_name of=/dev/external_disk_device_name'. See 'man dd' for optimization of parameters (block size and such) or the way convoluted http://www.linuxquestions.org/questi...ommand-362506/ thread.
 
  


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
how to install redhat on the attached external usb hard disk? hadimotamedi Linux - Newbie 12 07-25-2010 06:49 AM
How do I install ram disk on redhat linux RajG Linux - Software 2 11-15-2006 08:54 AM
How to Install Linux on a USB Hard Disk poda LQ Suggestions & Feedback 2 05-17-2005 07:59 AM
install linux on usb disk flanker Linux - Newbie 3 10-05-2004 12:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 04:19 PM.

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