LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Bootable usb stick + dd (https://www.linuxquestions.org/questions/linux-general-1/bootable-usb-stick-dd-795731/)

eviltoaster 03-16-2010 05:00 AM

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...

smoker 03-16-2010 08:23 AM

Reduce the size of the partition on the 8GB stick to 2 GB
Then dd that partition to the 2GB stick

eviltoaster 03-17-2010 01:18 AM

Quote:

Originally Posted by smoker (Post 3900357)
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

smoker 03-17-2010 06:47 AM

what exactly does that mean ?

eviltoaster 03-17-2010 07:25 AM

Quote:

Originally Posted by smoker (Post 3901668)
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.

smoker 03-17-2010 07:45 AM

It failed

What is IT ?

ctkroeker 03-17-2010 08:08 AM

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?


All times are GMT -5. The time now is 11:56 AM.