LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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
  Search this Thread
Old 03-22-2010, 09:11 AM   #1
agntsgotnosecret
LQ Newbie
 
Registered: Aug 2009
Posts: 7

Rep: Reputation: 0
Clone 8 GB USB DOS boot disk to 4 GB USB drive


Hello,

I have a Sandizk Cruzer USB drive that is 8 GB and presently is formatted as a FAT32 DOS-bootable disk with my utilities.

I also have a Patriot XT 4 GB flash drive that I would like to replace the Sandisk USB drive, so I am attempting to make an exact copy of the the Sandisk (8 GB) drive to the Patriot (4 GB) drive, primarily the DOS-bootable functionality.

From what I've researched online, cloning a larger USB hard drive to a smaller one can be a lengthy process, so I was just wondering how I'd go about accomplishing this.

Any ideas would be more than welcome -- thanks!
 
Old 03-22-2010, 09:17 AM   #2
ctkroeker
Senior Member
 
Registered: May 2005
Location: Paraguay
Posts: 1,565
Blog Entries: 1

Rep: Reputation: 50
IŽd expect that you would have to shrink the 8GB partition to on the same (or smaller) size of the 4GB one, than use a tool like dd to clone it. There have been several questions like this on LQ, such as http://www.linuxquestions.org/questi...estion-773349/
 
Old 03-22-2010, 09:40 AM   #3
agntsgotnosecret
LQ Newbie
 
Registered: Aug 2009
Posts: 7

Original Poster
Rep: Reputation: 0
How can I copy the "MBR" basically so that the new drive is bootable?

Restoring the partitions is easy enough, yes.

I ran the following commands, but I'm not sure they will work:

dd if=/dev/sdb of=/dev/sdc bs=512 count=1 <-- To copy the master sectors so that the drive is DOS bootable?
dd if=/dev/sdb1 of=/dev/sdc1 bs=1024 <-- Cloning of original partition to new disk
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Suse 10 clone head node to ext. usb drive. guy_haz Linux - Newbie 1 03-27-2009 09:33 AM
Clone Linux Bootable USB Flash Drive hpnoobs Linux - Newbie 3 09-17-2008 09:38 PM
accessing USB drive in Redhat 9 and then creating USB boot disk Fond_of_Opensource Linux - Hardware 1 04-15-2007 07:43 AM
Boot from USB external drive, from laptop without USB boot support. darirod Linux - Newbie 2 12-19-2006 10:00 AM
Why do file names keep getting changed to dos 8.3 format on my usb drive? firehawk256 Linux - Newbie 1 02-25-2005 03:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:11 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