On Mon, 29 Apr 2013 19:01:56 +0800 Jackie <jiangjun12...@gmail.com> wrote:
> 在 Mon, 29 Apr 2013 10:53:43 +0800,Fast Turtle <ftur...@gmail.com> 写道: > > > On Mon, 29 Apr 2013 09:07:07 +0800 > > Jackie <jiangjun12...@gmail.com> wrote: > > > >> 在 Mon, 29 Apr 2013 08:58:56 +0800,Fast Turtle <ftur...@gmail.com> > >> 写道: > >> > >> > I followed a method of using UUID's in grub from > >> > > >> http://www.linux-archive.org/gentoo-user/481167-mounting-root-partition-uuid-no-initrd-needed.html > >> > and am getting an error 11 message > >> > > >> > My grub Conf > >> > > >> > title FlashGen2 > >> > > >> > root=PARTUUID=b969b2c9-becb-48cc-ad6d-81517bb12ca8 > >> > > >> > kernel /boot/kernel-genkernel-x86_6403.4.34-gentoo > >> > root=PARTUID=b969b2c9-becb-48cc-ad6d-81517bb12ca8 > >> > > >> > The error is about the PARTUUID but I don't know which one. > >> > > >> > >> make sure that your grub support uuid and try root=uuid=XXXXX,appeared > >> to > >> me that it should be uuid rather than PARTUUID.Not so sure. > >> > > Been doing more reading and it looks as though you may be correct since > > I'm using Grub(legacy) not Grub2 that it appears the page talked about. > > Will check and see if that is the case. > > > > Could be,I used grub-legacy for a while in the past and found it not so > good too.Hard to configure as I wanted. > Someone in the forums provided a possible work around - Seems that the PARTUUID needed comes from GDISK as GPARTED doesn't show the correct one. They are doing what I'm trying except using Grub-Legacy not Grub2 so I'm fairly confident it'll work as needed. The info they provided: gdisk /dev/sdb GPT fdisk (gdisk) version 0.8.6 Partition table scan: MBR: protective BSD: not present APM: not present GPT: present Found valid GPT with protective MBR; using GPT. Command (? for help): i Partition number (1-4): 1 Partition GUID code: C12A7328-F81F-11D2-BA4B-00A0C93EC93B (EFI System) Partition unique GUID: 29884E5A-69FF-42E8-AB7B-0DEB95FB6EA9 First sector: 63 (at 31.5 KiB) Last sector: 81915434 (at 39.1 GiB) Partition size: 81915372 sectors (39.1 GiB) Attribute flags: 0000000000000000 Partition name: 'Linux/Windows data' Command (? for help): p Disk /dev/sdb: 976773168 sectors, 465.8 GiB Logical sector size: 512 bytes Disk identifier (GUID): 0F7425A1-EB79-4B6A-A7F2-1F98F8E7D8A9 Partition table holds up to 128 entries First usable sector is 34, last usable sector is 976773134 Partitions will be aligned on 8-sector boundaries Total free space is 5099 sectors (2.5 MiB) Number Start (sector) End (sector) Size Code Name 1 63 81915434 39.1 GiB EF00 Linux/Windows data 2 81915435 163830869 39.1 GiB 0700 Linux/Windows data 3 163830870 245746304 39.1 GiB 0700 Linux/Windows data 4 245746305 976768064 348.6 GiB 0700 Linux/Windows data Command (? for help): q title=Gentoo Linux (kernel-3.0.0-gentoo-r1 boot-Test über PartUUID mit gdisk unique guid) root (hd1,0) kernel /boot/kernel-x86_64-3.0.0-gentoo vga=791 root=PARTUUID=29884E5A-69FF-42E8-AB7B-0DEB95FB6EA9 Notice that the did make a mistake in their post - watch the PARTUUID to see what I'm talking about. Easy enough to fix as they showed the entire gdisk info for the root= command.