Skip to main content
Topic: grub-install failure (Read 1101 times) previous topic - next topic
0 Members and 2 Guests are viewing this topic.

grub-install failure

The grub-install step in the instructions fails.  I made GPT partitions /sda1 (swap) /sda2 (root) /sda3 (boot) and followed the instructions - this is the result



I tired also /dev/sda2 and /dev/sda3  - it didn't like any of them..

Re: grub-insstall failure

Reply #1
OK - I fixed this by using cfdisk and changing the FS type for the /boot partition to BIOS Boot or whatever...

Maybe the docs should be change.

Re: grub-insstall failure

Reply #2
actually, it still will not boot :(

Re: grub-insstall failure

Reply #3
OK I think I finnaly got this to work but I had to do a couple of things.  It is not apparent to me where in the install docks that a the vmlinuz image is copied over and I couldn't find it.  And then I think it was broken (I got an error saying the file ended short).  So I have to to a pacman -S --force linux after running artools-chroot

The file system partioning I had to alter to comply with gpt bios and it looks like this

Code: [Select]
GPT fdisk (gdisk) version 1.0.4

Partition table scan:
  MBR: protective
  BSD: not present
  APM: not present
  GPT: present

Found valid GPT with protective MBR; using GPT.
Disk /dev/sda: 84276224 sectors, 40.2 GiB
Model: VBOX HARDDISK  
Sector size (logical/physical): 512/512 bytes
Disk identifier (GUID): 3E4C94DB-B0BB-FD49-843A-D36D798ECCF2
Partition table holds up to 128 entries
Main partition table begins at sector 2 and ends at sector 33
First usable sector is 2048, last usable sector is 84276190
Partitions will be aligned on 2048-sector boundaries
Total free space is 0 sectors (0 bytes)

Number  Start (sector)    End (sector)  Size       Code  Name
   1            2048            4095   1024.0 KiB  EF02 
   2            4096          208895   100.0 MiB   8200 
   3          208896        77803519   37.0 GiB    8300 
   4        77803520        84276190   3.1 GiB     8300 


or from cfdisk dump
Code: [Select]
label: gpt
label-id: 3E4C94DB-B0BB-FD49-843A-D36D798ECCF2
device: /dev/sda
unit: sectors
first-lba: 2048
last-lba: 84276190

/dev/sda1 : start=        2048, size=        2048, type=21686148-6449-6E6F-744E-656564454649, uuid=D8CECAEA-E5EB-BA
41-AB9D-6DEA1CBF8CEF
/dev/sda2 : start=        4096, size=      204800, type=0657FD6D-A4AB-43C4-84E5-0933C84B4F4F, uuid=F888759B-2D8B-81
4C-8D68-0C3F83EBCCE8
/dev/sda3 : start=      208896, size=    77594624, type=0FC63DAF-8483-4772-8E79-3D69D8477DE4, uuid=B276A31F-2712-ED
48-93C4-9612BA899D1F
/dev/sda4 : start=    77803520, size=     6472671, type=0FC63DAF-8483-4772-8E79-3D69D8477DE4, uuid=75B88B22-18A2-BF
4D-A14E-716FC9C2A66D



Re: grub-install failure

Reply #4
Yeah, that BIOS boot partition is necessary on BIOS systems with a GPT-partitioned disk. The Wiki page should mention this.

Re: grub-install failure

Reply #5
It shouold also mention that t
Yeah, that BIOS boot partition is necessary on BIOS systems with a GPT-partitioned disk. The Wiki page should mention this.


It should also mention that the Kernel needs to be manually installed with pacman -S linux !!