LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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-16-2010, 05:00 AM   #1
eviltoaster
LQ Newbie
 
Registered: Nov 2009
Posts: 4

Rep: Reputation: 0
Bootable usb stick + dd


Hi, i have two usb sticks one at 8GB and one at 2GB. on my 8GB there is a 1.1GB of files that i need to clone to get my 2GB to work and boot as my 8GB. The biggest problem is how do i clone MBR? i know how to do it with dd but not when there is two different sizes.
if this is the problem. all i get at boot is GRUB nothing more, no menu or grub config screen. only the text "grub".

8GB usb stick with debian(1.1GB)
2GB usb stick empty

what i have done.

dd + no=trunc
dd files to image.dd
dd mbr
changed partition tables
dd only partition 1
and so on...

Last edited by eviltoaster; 03-17-2010 at 01:29 AM.
 
Old 03-16-2010, 08:23 AM   #2
smoker
Senior Member
 
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 250Reputation: 250Reputation: 250
Reduce the size of the partition on the 8GB stick to 2 GB
Then dd that partition to the 2GB stick
 
Old 03-17-2010, 01:18 AM   #3
eviltoaster
LQ Newbie
 
Registered: Nov 2009
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by smoker View Post
Reduce the size of the partition on the 8GB stick to 2 GB
Then dd that partition to the 2GB stick
i did 2gb and after that 1.5gb not working :S
 
Old 03-17-2010, 06:47 AM   #4
smoker
Senior Member
 
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 250Reputation: 250Reputation: 250
what exactly does that mean ?
 
Old 03-17-2010, 07:25 AM   #5
eviltoaster
LQ Newbie
 
Registered: Nov 2009
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by smoker View Post
what exactly does that mean ?
That i reduced first partition to 2GB and it failed and after that 1.5GB and it failed ... all i got at boot is grub nothing more only thoese four letters.
 
Old 03-17-2010, 07:45 AM   #6
smoker
Senior Member
 
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 250Reputation: 250Reputation: 250
It failed

What is IT ?
 
Old 03-17-2010, 08:08 AM   #7
ctkroeker
Senior Member
 
Registered: May 2005
Posts: 1,565
Blog Entries: 1

Rep: Reputation: 50
I believe he means it failed to boot with the cloned drive.
Quote:
.. all i got at boot is grub nothing more only thoese four letters.
Which four letters? G-R-U-B? is it a blank grub screen?
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Making a USB stick bootable from a bootable cdrom cwwilson721 Slackware 2 10-23-2009 09:18 PM
may install from cdrom to USB FLASH DRIVE(to get it a USB stick bootable) the ubuntu lse123 Linux - Newbie 5 01-02-2009 04:56 PM
how to a bootable flag on usb stick? xpucto Linux - Newbie 10 08-29-2008 08:52 AM
Making a usb stick bootable TotalLinuxNoob Linux - Software 2 01-05-2008 11:03 AM
bootable USB-Stick overlord73 Linux - Hardware 1 01-14-2005 02:17 AM

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

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