Re: [gentoo-user] Grub Config Questions
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=X,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: 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 6381915434 39.1 GiBEF00 Linux/Windows data 281915435 163830869 39.1 GiB0700 Linux/Windows data 3 163830870 245746304 39.1 GiB0700 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.
Re: [gentoo-user] Grub Config Questions
在 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=X,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.
Re: [gentoo-user] Grub Config Questions
在 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=X,appeared to me that it should be uuid rather than PARTUUID.Not so sure.
Re: [gentoo-user] Grub Config Questions
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=X,appeared to me that it should be uuid rather than PARTUUID.Not so sure. The partuuid is from the howto link I was following This is what the page shows as the example root=PARTUUID=6BAD4248-FC6D-4487-A255-A3B57504BE10 Note that the PARTUUID keyword was introduced very recently in linux kernel 2.6.37, and it has nothing whatever to do with the UUID keyword used in the many online tutorials on how to build an initrd! The kernel used is the gentoo-sources 3.4.34 with gpt and efi enabled
Re: [gentoo-user] Grub Config Questions
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=X,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.
Re: [gentoo-user] Grub config
Hello, I think your grub.conf splashimage line is quite strange, it's usually an xpm.gz and not an xpn.gz . Xavier Guerin 2005/7/9, Simon Windsor [EMAIL PROTECTED]: Hi I have just rebuilt my mine desktop from Fedora to Gentoo. Everything appears to work well, but I am a bit puzzled by Grub. I have used Genkernel to build the kernel, so my Grub config file, grub.conf, is - default 0 timeout 30 splashimage=(hd0,0)/grub/spash.xpn.gz title=Gentoo Linux 2.6.11-r3 root (hd0,0) kernel /kernel-2.6.11-gentoo-r3 root=/dev/ram0 init=/linuxrc /ramdisk=8192 real_root=/dev/hda3 udev vga=791 initrd /initrd-2.6.11-gentoo-r3 -- What argument should I add to the kernel line so that Gentoo starts with a splash screen and the kernel shells support my 1024/768 display. All the best Simon -- Simon Windsor Eml: [EMAIL PROTECTED] Tel: 01454 617689 Mob: 07960 321599 -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Grub config
On Saturday 09 July 2005 14:54, Simon Windsor wrote: Hi I have just rebuilt my mine desktop from Fedora to Gentoo. Everything appears to work well, but I am a bit puzzled by Grub. I have used Genkernel to build the kernel, so my Grub config file, grub.conf, is - default 0 timeout 30 splashimage=(hd0,0)/grub/spash.xpn.gz title=Gentoo Linux 2.6.11-r3 root (hd0,0) kernel /kernel-2.6.11-gentoo-r3 root=/dev/ram0 init=/linuxrc /ramdisk=8192 real_root=/dev/hda3 udev vga=791 initrd /initrd-2.6.11-gentoo-r3 -- What argument should I add to the kernel line so that Gentoo starts with a splash screen and the kernel shells support my 1024/768 display. All the best Try :- http://gentoo-wiki.com/HOWTO_fbsplash#What_is_gensplash.3F HTH -- Tony Davison [EMAIL PROTECTED] -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Grub config
Hi Thanks, well spotted. Typical, you spend hours looking at simple problem, checking the web, etc, and you ask for help and someone spots a trivial spelling mistake in a few seconds! Many thanks, Simon On Sat, 2005-07-09 at 16:08 +0200, xav guerin wrote: Hello, I think your grub.conf splashimage line is quite strange, it's usually an xpm.gz and not an xpn.gz . Xavier Guerin 2005/7/9, Simon Windsor [EMAIL PROTECTED]: Hi I have just rebuilt my mine desktop from Fedora to Gentoo. Everything appears to work well, but I am a bit puzzled by Grub. I have used Genkernel to build the kernel, so my Grub config file, grub.conf, is - default 0 timeout 30 splashimage=(hd0,0)/grub/spash.xpn.gz title=Gentoo Linux 2.6.11-r3 root (hd0,0) kernel /kernel-2.6.11-gentoo-r3 root=/dev/ram0 init=/linuxrc /ramdisk=8192 real_root=/dev/hda3 udev vga=791 initrd /initrd-2.6.11-gentoo-r3 -- What argument should I add to the kernel line so that Gentoo starts with a splash screen and the kernel shells support my 1024/768 display. All the best Simon -- Simon Windsor Eml: [EMAIL PROTECTED] Tel: 01454 617689 Mob: 07960 321599 -- gentoo-user@gentoo.org mailing list -- Simon Windsor Eml: [EMAIL PROTECTED] Tel: 01454 617689 Mob: 07960 321599 -- gentoo-user@gentoo.org mailing list