Dear All I have centos running on my VBox guest on my Windows host. I need to install centos on the attached external usb hard disk ,connected to my guest machine.Can you please let me know how can install centos on this external usb hard disk? Thank you
On Sat, Jul 24, 2010 at 3:28 AM, hadi motamedi motamedi24@gmail.com wrote:
Dear All I have centos running on my VBox guest on my Windows host. I need to install centos on the attached external usb hard disk ,connected to my guest machine.Can you please let me know how can install centos on this external usb hard disk? Thank you
Step 1: Configure virtualbox to see the drive you want. Step 2: http://www.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5.5/html/Installat...
Hadi, as much as I enjoy this community, learning from it, contributing to it, etc... I can't help but feel that you're simply abusing it to avoid doing your own work. I cannot recall a single question you've asked which has shown that you've put any effort at all into helping yourself. Please at least attempt to figure things out for yourself first.
On Sat, Jul 24, 2010 at 5:26 PM, Jim Perrin jperrin@gmail.com wrote:
Step 1: Configure virtualbox to see the drive you want. Step 2: http://www.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5.5/html/Installat...
Hadi, as much as I enjoy this community, learning from it, contributing to it, etc... I can't help but feel that you're simply abusing it to avoid doing your own work. I cannot recall a single question you've asked which has shown that you've put any effort at all into helping yourself. Please at least attempt to figure things out for yourself first.
-- During times of universal deceit, telling the truth becomes a revolutionary act. George Orwell _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
I tried to do it as the following : #dd if=/dev/hda of=/dev/sda But it was not successful. The primary disk is 150GB and the external usb disk is 20GB. As I check with the 'df -m' , with respect to the used space , the 20GB capacity seems to be sufficient. Can you please let me know how to modify my command to have the os installed on the primary disk to be cloned to the external usb disk ?
hadi motamedi wrote:
I tried to do it as the following : #dd if=/dev/hda of=/dev/sda But it was not successful. The primary disk is 150GB and the external usb disk is 20GB. As I check with the 'df -m' , with respect to the used space , the 20GB capacity seems to be sufficient. Can you please let me know how to modify my command to have the os installed on the primary disk to be cloned to the external usb disk ?
You can't do an image clone to a smaller target. If you need to do this, get a matching or larger target drive. Or, install from scratch on the USB device and then copy over any files you need from the source drive.
If you want to do much disk cloning, look at the bootable clonezilla-live CD. It makes it simple and knows enough about most filesystems to only copy the used blocks, but it still can't move a large source to a smaller disk - although it could put a compressed image there that could be used as a source to restore the larger drive. If you are just looking for a full backup and don't expect to run from the USB, that might work for you.
On Sun, Jul 25, 2010 at 9:07 PM, Les Mikesell lesmikesell@gmail.com wrote:
You can't do an image clone to a smaller target. If you need to do this, get a matching or larger target drive. Or, install from scratch on the USB device and then copy over any files you need from the source drive.
If you want to do much disk cloning, look at the bootable clonezilla-live CD. It makes it simple and knows enough about most filesystems to only copy the used blocks, but it still can't move a large source to a smaller disk - although it could put a compressed image there that could be used as a source to restore the larger drive. If you are just looking for a full backup and don't expect to run from the USB, that might work for you.
-- Les Mikesell lesmikesell@gmail.com
I tried to install from the installation media . I put the install cd and then tried for 'expert' and select /dev/sda instead of /dev/hda as the media to install on. But at the end my machine cannot be booted from the usb disk. Can you please let me know how can I make it as bootable disk?
I tried to install from the installation media . I put the install cd and then tried for 'expert' and select /dev/sda instead of /dev/hda as the media to install on. But at the end my machine cannot be booted from the usb disk. Can you please let me know how can I make it as bootable disk?
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Done that way I'd be surprised if you had a bootable machine.... Unless you mean tried to install within the vbox session... /dev/sda would most likely wipe out your internal hard disk (where you said you have windows installed).
What are you actually trying to accomplish? You should note that grub will not always play nice being installed on/running from an external usb drive if you are intending to use it as a portable distro... no guarantees that the device.map will be valid from one machine to the next...
On Mon, Jul 26, 2010 at 1:13 PM, James Hogarth james.hogarth@gmail.comwrote:
Done that way I'd be surprised if you had a bootable machine.... Unless you mean tried to install within the vbox session... /dev/sda would most likely wipe out your internal hard disk (where you said you have windows installed).
What are you actually trying to accomplish? You should note that grub will not always play nice being installed on/running from an external usb drive if you are intending to use it as a portable distro... no guarantees that the device.map will be valid from one machine to the next... _______________________________________________
Sorry. You mean I do not need to install grub boot loader when installing on the usb disk? Please comment.
From: hadi motamedi motamedi24@gmail.com
Sorry. You mean I do not need to install grub boot loader when installing on the
usb disk? Please comment.
Did you enable usb booting in the bios...?
JD
John Doe wrote:
From: hadi motamedi motamedi24@gmail.com
Sorry. You mean I do not need to install grub boot loader when installing on the
usb disk? Please comment.
Did you enable usb booting in the bios...?
Or tell it to boot from it, rather than hitting the hard drive or CD/DVD first?
mark
On Mon, Jul 26, 2010 at 11:44:33AM -0400, m.roth@5-cent.us wrote:
Or tell it to boot from it, rather than hitting the hard drive or CD/DVD first?
BIOSs can be strange here too. Some, you tell 'em to boot from USB, and they'll obey that just as long as the USB drive is plugged in on each boot. As soon as they boot once without it, they stop looking for it until you go into the BIOS to set it up again.
On some systems hitting Esc on boot will give you choices between all available devices, overcoming the BIOS having decided to subsequently stop trying the USB after the first failure in looking there. But for something as useful to administration as being able to boot from USB, getting BIOSs to play along can be a pain.
Whit
On Mon, Jul 26, 2010 at 5:01 PM, John Doe jdmls@yahoo.com wrote:
Did you enable usb booting in the bios...?
JD
I press 'ESC' after reboot the machine and select the boot device as 'USB' but it cannot be booted from.
hadi motamedi wrote:
Did you enable usb booting in the bios...? JD _______________________________________________
I press 'ESC' after reboot the machine and select the boot device as 'USB' but it cannot be booted from.
I think I have seen computers that would boot from an unpartitioned flash key but not a device with partitions - but I don't know if this is common or how to change it.
Les Mikesell wrote:
hadi motamedi wrote:
Did you enable usb booting in the bios...?
I press 'ESC' after reboot the machine and select the boot device as 'USB' but it cannot be booted from.
I think I have seen computers that would boot from an unpartitioned flash key but not a device with partitions - but I don't know if this is
common or
how to change it.
I dunno - the USB key I built for installing CentOS has two partitions, and the first is flagged bootable, and all the systems I've used it on certainly boot from that first partition.
mark "once I go through the boot menu"