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 Sharku 2006-09-07 07:18:56
Just boot from a live-disk, if it doesn't have grub, chroot into the linux on hda and call grub from there. Otherwise just use the grub that's on the liveCD.

bash$ grub
grub> root(hd0,0) <-- This is where your BOOT directory structure resides, if for example /boot is mounted on /dev/hda2, use (hd0,1), otherwise use the partition where / is.
grub> setup(hd0)
grub> quit

Sorted. Grub has built in help and TAB-autocomplete, so if you're not sure which partition is which, you can use this to get around.
[ Reply ]
    But it has to be done automatically. by Michiel2006-09-07 07:22:28
    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 ttlogic2006-09-07 08:15:28
          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
      FS drivers and such are in /boot/grub/ (n/t) by Sharku2006-09-07 08:16:19

 

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