grub2 = beta?

Gene Heskett gene.heskett at verizon.net
Fri Dec 11 15:53:31 UTC 2009


On Friday 11 December 2009, Goh Lip wrote:
>On 12/11/2009 10:23 PM, Gene Heskett wrote:
>> I do not have those installed for F10.  I'll see if grub-pc is available.
>> No, but a grub2 is available that installs all the grub2 stuff in
>> /boot/grub2, and makes a new entry in grub/grub.conf that names it as a
>> kernel to load&  run.  This could be fun.  It spent about 5 minutes
>> hammering on every drive in this box so I'm going to look around and see
>> what else it did before retrying a reboot.
>>
>>>> Watch out during installation when it will initially use chainload,
>>>> then further instructions will follow. Follow through to finish.
>>>>
>>>>> I just ran into grub2 again.  Running F10 normally here, but just
>>>>> installed Linux Mint 8, 32 bit version on /dev/sdb, which is derived
>>>>> from Ubuntu 9.10
>>>>>
>>>>> I have this in my /dev/sda1(/boot for F10)/grub/grub.conf:
>>>>>
>>>>> title Mint Linux 8 32 bit (from /dev/sdb)
>>>>> 	rootnoverify	(hd1,0)
>>>>> 	makeactive
>>>>> 	chainloader +1
>>>
>>> And I just found I didn't have a space between chainloader and +1.
>>
>> Ok, with the space in there, I now get an error 13, invalid format.  And
>> it times out in about 5 seconds and loops back to the sstarting menu from
>> /dev/sda, and grub-0.97. I purposely made both Mint partitions /boot and
>> / ex3 filesystems so there would not be the sort of thing where F12
>> apparently can only be booted from an ext4 system thanks to fedora's
>> "forking" of grub-0.97 without even changing the version number.
>>
>> Next?
>>
>> Thanks
>
>Gene, let's clarify some assumptions before we proceed,
>
>
>o Your "grub mbr" is from F10 and this is grub-legacy, ie grub-0.97.
Correct

>o Your Linux Mint (sdb) is in ext4 format, is on 2nd sata drive, grub2.
No, I had the Mint installer use ext3.  But it is on the 2nd sata drive

>   (since you've set up Mint later, did you not set Mint to mbr?)
I don't recall other than I restricted the installer to /dev/sdb to 
protect the other installs.

>o Where did your F12 come in? Only heard of your F12 in your latest msg.

F12 is ATM, history, I put Mint on that 2nd drive. 

Sata3 is /amandatapes (backup)

And there is a 64 bit Mandriva 2009.1 on the 4th drive.

>Could you send output from blkid and fdisk -lu?

[root at coyote grub.d]# blkid
/dev/sda1: LABEL="seaboot" UUID="9848a6bb-6ecd-412d-b2f5-0fdf68102bd3" SEC_TYPE="ext2" TYPE="ext3"
/dev/sda2: TYPE="swap" UUID="1e5d265b-0097-4699-b2f9-47e75ec2f95c"
/dev/sda3: LABEL="sea-slash" UUID="3d923d41-fe1d-49b2-9618-c03005888c41" SEC_TYPE="ext2" TYPE="ext3"
/dev/sdc1: LABEL="/amandatapes-1-T" UUID="223e0988-3155-4935-8511-20e3edd77910" SEC_TYPE="ext2" TYPE="ext3"
/dev/sdd1: UUID="9838db29-2ddd-46e5-835a-7c0f5eafae2a" TYPE="ext3" SEC_TYPE="ext2"
/dev/sdd5: TYPE="swap" UUID="7daaed8e-b1be-48fd-b701-852f4c904eb2"
/dev/sdd6: UUID="00a85218-ca2a-4265-bd8f-f9f511586dbc" SEC_TYPE="ext2" TYPE="ext3"
/dev/sdd7: UUID="b832a03e-54ad-44d1-8f3e-e5322f359f90" SEC_TYPE="ext2" TYPE="ext3"
/dev/sdd8: UUID="a00d2ff6-179d-431b-8b57-984f12a89e0d" SEC_TYPE="ext2" TYPE="ext3"
/dev/sdd9: UUID="cbb6883f-04f3-4acb-b46b-032bb28dfea8" SEC_TYPE="ext2" TYPE="ext3"
/dev/sdd10: UUID="ab39ede0-9b10-40e3-9fa9-2db747347934" SEC_TYPE="ext2" TYPE="ext3"
/dev/sda5: LABEL="sea-opt" UUID="bce6a095-6e7b-475d-b8a4-f75c1ae74a11" SEC_TYPE="ext2" TYPE="ext3"
/dev/sda6: LABEL="sea-home" UUID="7c9c7c96-4dcc-43db-8248-7dca7dd2abad" SEC_TYPE="ext2" TYPE="ext3"
/dev/sda7: LABEL="sea-root" UUID="937fecdd-d6f8-49aa-a438-4cee9789d796" SEC_TYPE="ext2" TYPE="ext3"
/dev/sda8: LABEL="sea-var" UUID="efbd9228-89d0-428a-86c4-dfaec8c40ebd" SEC_TYPE="ext2" TYPE="ext3"
/dev/sda9: LABEL="sea-tmp" UUID="466c0f0b-5b5e-4a8f-a83a-a8016d9c17f3" SEC_TYPE="ext2" TYPE="ext3"
/dev/sda10: LABEL="sea-usr" UUID="c377dbfc-caa6-464e-9d32-e75ef4b70e03" SEC_TYPE="ext2" TYPE="ext3"
/dev/sdb1: UUID="0937ea12-7e35-438d-a43d-02f4593bc875" SEC_TYPE="ext2" TYPE="ext3"
/dev/sdb2: TYPE="swap" UUID="05a8fe53-ca81-4fbf-ac96-1f36719b8a0b"
/dev/sdb3: UUID="d7f00628-d213-460e-91a1-ee7b986c4fa1" SEC_TYPE="ext2" TYPE="ext3"

root at coyote grub.d]# fdisk -lu                                                                                                    

Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes                                 
Disk identifier: 0x000e633d                                            

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1              63      835379      417658+  83  Linux 
/dev/sda2          835380     9237374     4200997+  82  Linux swap / Solaris
/dev/sda3         9237375   214033994   102398310   83  Linux
/dev/sda4       214033995  1953520064   869743035    5  Extended
/dev/sda5       214034058   275466554    30716248+  83  Linux
/dev/sda6       275466618   336899114    30716248+  83  Linux
/dev/sda7       336899178   398331674    30716248+  83  Linux
/dev/sda8       398331738   459764234    30716248+  83  Linux
/dev/sda9       459764298   521196794    30716248+  83  Linux
/dev/sda10      521196858  1953520064   716161603+  83  Linux

Disk /dev/sdb: 400.0 GB, 400088457216 bytes
255 heads, 63 sectors/track, 48641 cylinders, total 781422768 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0x000d591b

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *          63      578339      289138+  83  Linux
/dev/sdb2          578340     8385929     3903795   82  Linux swap / Solaris
/dev/sdb3         8385930   781417664   386515867+  83  Linux

Disk /dev/sdc: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0x0006aa28

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1   *          63  1953520064   976760001   83  Linux

Disk /dev/sdd: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0x0006622e

   Device Boot      Start         End      Blocks   Id  System
/dev/sdd1   *          63     4948019     2473978+  83  Linux
/dev/sdd2         4948020  1953520064   974286022+   5  Extended
/dev/sdd5         4948083    13125104     4088511   82  Linux swap / Solaris
/dev/sdd6        13125168   116294534    51584683+  83  Linux
/dev/sdd7       116294598   327742064   105723733+  83  Linux
/dev/sdd8       327742128  1126076174   399167023+  83  Linux
/dev/sdd9      1126076238  1170528029    22225896   83  Linux
/dev/sdd10     1170528093  1953520064   391495986   83  Linux
[root at coyote grub.d]#

>Some points
>o  grub-legacy could not boot ext4
>o  second hard drives (esp usb) sometimes changes their naming
>convention upon start-up. (one day, it could be (hd1,0), next day (hd2,0))

All sata.  There is a usb key of 8Gb plugged into about a 3rd level usb hub. 
Tons of usb stuff here. :)

>I propose the following (after your agreement to it).....
>I shall send to your direct email address  a grub2 iso file about 1 Mb
>size where you will burn to a cd.
>Boot that up to your Linux Mint and set that grub to mbr.

Send away

>Details when that grub cd boot up to grub shell is as follows...
>sh:grub>ls                              {check output and note down}
>sh:grub>search -f /boot/grub/grub.cfg   {check output and note down}
>sh:grub>search -f /boot/grub/menu.lst   {check output and note down}
>
>sh:grub>configfile (hdx,y)/boot/grub/grub.cfg
>
>
>Where (hdx,y) is your Linux Mint partition fro search output of grub.cfg
>You should boot into Linux Mint with latest command.
>
>At Linux Mint boot, set that to mbr by typing at terminal
>sudo grub-install /dev/sda
>
>You're done.

I'll give it a shot, thanks.

>Gene, let me know if you want to proceed with this.

Sure thing.  Thanks.
>
>Regards,
>Goh Lip
>


-- 
Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
The NRA is offering FREE Associate memberships to anyone who wants them.
<https://www.nrahq.org/nrabonus/accept-membership.asp>

Lighten up, while you still can,
Don't even try to understand,
Just find a place to make your stand,
And take it easy.
		-- The Eagles, "Take It Easy"




More information about the kubuntu-users mailing list