The Daily Static
  The Daily Static
UF Archives
Register
UF Membership
Ad Free Site
Postcards
Community

Geekfinder
UFie Gear
Advertise on UF

Forum Rules
& FAQ


Username

Password


Create a New Account

 
 

Back to UserFriendly Strip Comments Index

GRUB GRUB GRUB GRUB GRUB by Michiel2006-09-07 07:04:56
  Grub doesn't like dd for some reason. by Sharku2006-09-07 07:18:56
    I think GRUB uses more than one sector by ttlogic2006-09-07 07:45:23
      Interesting. by Michiel2006-09-07 07:53:29
        Yes you can by ttlogic 2006-09-07 08:15:28
From your backup command, note the blocksize (512 bytes, 1 sector), and count (1, so 1 block). Just increase the count to the number of sectors you want.

Usually, the first 63 sectors are not partitioned. This has to do with the old cylinder/head/sector adressing of drives, fdisks only wanting to allocate complete tracks (i.e. a full circle on 1 side of 1 platter) and the very first sector of the first track being occupied by the MBR. Modern disks emulate tracks to have 63 sectors for backward compatibility. So in short, you're usually safe by dd-ing up to 63 sectors.

I'm not familiar enough with Partition Image, but I do know some cloning utilities can resize the cloned fs to fill the whole target disk, or write to other partitions (e.g. to add a cloned OS next to an existing one). This can make the actual data shift positions. Before loading the filesystem drivers, GRUB only knows about bare sectors, so some shifting of data can confuse it.
[ Reply ]
          Hm.. If bs = block size, by Michiel2006-09-07 08:34:02
            Man page for dd : bs= block size by SciSSorS2006-09-07 09:12:11
            Flexibility by ttlogic2006-09-07 09:17:14
              And I will. Tomorrow. by Michiel2006-09-07 10:47:48

 

[Todays Cartoon Discussion] [News Index]

Come get yer ARS (Account Registration System) Source Code here!
All images, characters, content and text are copyrighted and trademarks of J.D. Frazer except where other ownership applies. Don't do bad things, we have lawyers.
UserFriendly.Org and its operators are not liable for comments or content posted by its visitors, and will cheerfully assist the lawful authorities in hunting down script-kiddies, spammers and other net scum. And if you're really bad, we'll call your mom. (We're not kidding, we've done it before.)