Web lists-archives.com

Re: Install on hp-pavilion-g6-2100 stops at 98%




On Sun 03 Sep 2017 at 00:07:37 +0200, Luis Speciale wrote:

> Le 02/09/2017 à 19:54, Brian a écrit :
> 
> >Use 'cp debian.iso /dev/sdX' if you have another Linux computer to
> >hand.
> 
> I'm on Mac OS. After some ggogling, I did install the ISO on a new USB key
> like this
> 
> unmountDisk /dev/disk1
> sudo dd if=./debian-9.1.0-amd64-netinst.iso of=/dev/disk1 bs=1m

Mac OS is a mystery to me, but I believe it is UNIX based. dd looks like
a decent command to use.
 
> Then I did the install, but now I have this at startup

And it installed. So that part is ok. Progress.

> error: file `/boot/grub/x86_g4-efi/normal.mod`not found
> Entering rescue mode...
> grub rescue>

Pass on why you should get this. efi is something else I know nothing
about.

> Did more googling an I saw that some people did an ls command here, which I
> did
> 
> grub rescue>
> (hd0) (hd0.gpt6) (hd0) (hd0.gpt5) (hd0) (hd0.gpt4) (hd0) (hd0.gpt3) (hd0)
> (hd0.gpt2) (hd0) (hd0.gpt1) (hd0) (hd1) (cd0)
> 
> That I think means the disks I have (I did chose a LVM with a home, tmp,
> etc)

One of those partitions should have the files vmlinuz and initrd.img
on it. Look at the contents of each partition with 'ls (hd0.gpt1)/',
'ls (hd0.gpt2)/' etc to find them. Then at the prompt (if the partition
is (hd0.gpt1):

set root=(hd0.gpt1)
linux vmlinuz root=/dev/sda1
initrd initrd.img
boot

/dev/sda1 becomes /dev/sda2 if the partition is (hd0.gpt2).

If that works it should be easy for us to go from there.

-- 
Brian.