Re: Wheezy: making a bootable HD with Grub
On Sun, 4/26/15, Brian <ad44@cityscape.co.uk> wrote:
> (hd0,swap) is more likely to be (hd0,msdos3)
Yes, you're probably right. I was writing from memory.
> One of the partitions holds the kernel and initrd image. Another has the
> files vmlinuz and initrd.img. 'ls ((hd0,msdos1)/' etc should help with
> locating them. Where are they?
(hd0,msdos1) is my new boot partition and I copied all the files from my old boot partition to the new one. So, I expect the output would show all the files and directories that I copied:
grub rescue> ls (hd0,msdos1)/
config-3.2.0-4-amd64 grub initrd.img-3.2.0-4-amd64 lost+found System.map-3.2.0-4-amd64 vmlinuz-3.2.0-4-amd64
What's not clear to me is how it helps me. Perhaps I could try to boot the system from grub rescue (see below)?
grub> linux (hd0,msdos1)/vmlinuz root=(hd0,msdos2)
grub> initrd (hd0,msdos1)/initrd.img
grub> boot
Perhaps the system will boot this way. Then what? There's still the question of making the new HD bootable the normal way that remains.
Thanks
Reply to: