help-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Installing grub into the mbr of a disk image


From: adrian15
Subject: Re: Installing grub into the mbr of a disk image
Date: Fri, 18 Apr 2008 09:40:02 +0200
User-agent: Thunderbird 2.0.0.5 (X11/20070727)

Franklin PIAT escribió:

 3) In order to install grub, I do:
    (from
http://www.gnu.org/software/grub/manual/grub.html#Creating-a-GRUB-boot-floppy )
        dd if=/usr/lib/grub/i386-pc/stage1 of=/diskimage bs=512 count=1
        dd if=/usr/lib/grub/i386-pc/stage2 of=/diskimage bs=512 seek=1

You can't do that for hard disk.

grub
grub>device (hd3) /path/to/your/disk/image
grub>root (hd3,1) # If Grub files are in second partition... if third put 2 instead of 1...
grub>setup (hd3)
grub>quit
sync


adrian15
--
Support free software. Donate to Super Grub Disk. http://supergrub.forjamari.linex.org/?section=donate




reply via email to

[Prev in Thread] Current Thread [Next in Thread]