Skip to main content

Thread: Question after backup using dd


hi all.

followed instructions here regarding making clone of one's boot drive: http://www.arsgeek.com/2008/01/22/ho...another-drive/

bootdrive (sda1) 16gb.

cloned onto 40gb partition on sdb1

did this:
code:
sudo dd if=/dev/sda1 of=/dev/sdb1
all seemed go well.

when df -h, this:
code:
aaron@aaron-ringo:~$ df -h filesystem            size  used avail use% mounted on /dev/sda1              16g  3.5g   11g  25% / none                  242m  644k  241m   1% /dev none                  248m  188k  248m   1% /dev/shm none                  248m  104k  248m   1% /var/run none                  248m     0  248m   0% /var/lock
i don't see mention of sdb1^^. df command then?

because if 'fdisk -l', this:
code:
disk /dev/sda: 16.9 gb, 16907304960 bytes 255 heads, 63 sectors/track, 2055 cylinders units = cylinders of 16065 * 512 = 8225280 bytes sector size (logical/physical): 512 bytes / 512 bytes i/o size (minimum/optimal): 512 bytes / 512 bytes disk identifier: 0x0007f40f     device boot      start         end      blocks   id  system /dev/sda1   *           1        1991    15987712   83  linux /dev/sda2            1991        2056      521217    5  extended /dev/sda5            1991        2056      521216   82  linux swap / solaris  disk /dev/sdb: 320.1 gb, 320072933376 bytes 255 heads, 63 sectors/track, 38913 cylinders units = cylinders of 16065 * 512 = 8225280 bytes sector size (logical/physical): 512 bytes / 512 bytes i/o size (minimum/optimal): 512 bytes / 512 bytes disk identifier: 0x000b20b5     device boot      start         end      blocks   id  system /dev/sdb1               1        4826    38758400   83  linux /dev/sdb2            4826       38914   273811456    5  extended /dev/sdb5            4826       38914   273810432   83  linux
but here's gets weird.

@ grub screen, see this:


(crappy pic. apologies.)

notice there 'default' kernel listing on top , @ bottom there kernel listed "(on dev/sda1)"?

if last entry referencing kernel "on dev/sda1" kernel default (top) 1 from? seems me since boot disk /dev/sda1 default listing (top) /dev/sda1, correct?

noticed second "on dev/sda1" entry after doing dd backup.

advice.

secondary question: way grub onto sdb1 via livecd? that's way suggested here. there no other way grub on disk. ask because i'm having hard time getting live cd behave when it's hooked non-bootable disk (at least think that's problem is).

never used dd command in cli. use ubuntu based gui frontends (example see in sig).

regarding livecd - live cd should "behave" if there no hard disk in computer. botos ram. not sure problem gives yes, easiest way install grub form livecd. guess install withouth livecd since trying install different disk. won't able on same disk. believe reason use live disk because hard disk needs unmountet or not in use when install bootloader. or @ least it's mbr. not sure. know exampel if want fix windows mbr need boot install disk first (or floppy )


Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [ubuntu] Question after backup using dd


Ubuntu

Comments

Popular posts from this blog

How to set the order of FAQs instead of alphabetical

Thread: Get UK Keyboard working

how do I change the e-mail address for my merchant account