[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Installing grub 1.95 on a GPT-partitioned system
From: |
Michael Renner |
Subject: |
Installing grub 1.95 on a GPT-partitioned system |
Date: |
Tue, 16 Jan 2007 18:23:55 +0000 (UTC) |
User-agent: |
Loom/3.14 (http://gmane.org/) |
Hi,
GRUB 2 (1.95) refused to get installed on a GPT-partitioned server.
The layout is as follows:
parted:
Disk /dev/sda: 3000GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Number Start End Size File system Name Flags
1 17.4kB 32.0GB 32.0GB ext3 root
2 32.0GB 33.0GB 1000MB linux-swap swap
3 33.0GB 3000GB 2967GB data
/proc/partitions:
major minor #blocks name
8 0 2929686528 sda
8 1 31249983 sda1
8 2 976562 sda2
8 3 2897459948 sda3
8 16 488386584 sdb
8 17 15623181 sdb1
8 18 979965 sdb2
grub-setup fails with:
datadump:~# grub-setup --root-device='(hd0,0)' '(hd0)'
grub-setup: error: unknown device
datadump:~#
and grub-install has misleading errors:
datadump:/boot/grub# grub-install --root-directory=/ --modules=gpt.mod
--modules=ext2.mod '(hd0)'
cannot find a GRUB drive for /dev/sda1.
grub-setup: error: Cannot guess the root device. Specify the option
``--root-device''.
datadump:/boot/grub# grub-install --root-directory=/ --modules=gpt.mod
--modules=ext2.mod --root-device='(hd0,0)' '(hd0)'
Unrecognized option `--root-device=(hd0,0)'
[..]
The rootdevice was /dev/sda1 while I tried this, booting from a second block
device containing only the bootloader and kernel.
Are there any quick (bandaid?) fixes to resolve this problem or should I use a
different "hackaround" in the meanwhile?
best regards,
Michael Renner
- Installing grub 1.95 on a GPT-partitioned system,
Michael Renner <=