F17 vs. Pentium 4
Michael Hennebry
hennebry at web.cs.ndsu.nodak.edu
Sat Apr 14 17:51:40 UTC 2012
On Sat, 14 Apr 2012, mwesten wrote:
> On 04/14/2012 04:29 AM, Michael Hennebry wrote:
>> The next time, I made /boot sda2 and picked sda for the bootloader.
>> This time I got an install, but I'm not sure how to boot to it.
>> I'd rather not have to play with the BIOS
>> every time I want to boot a different install.
>> Is there a way to chainload to sda?
>> I'd have tried configfile,
>> but I don't think that works from old grub to grub2.
>
> This is not quite clear to me. It sounds like you can now boot F16 or
> whatever you had before by changing the BIOS boot drive. Is that where
> we are?
>
> GRUB Legacy can chainload the bootsector of the second drive with the
> chainloader command.
>
> chainloader (hd1)+1
Thanks.
Chainloading worked, Grub 2 didn't.
GRUB Loading stage1.5
GRUB loading please wait...
Error 18
Huh?
I thought that Grub 2 was supposed to be smarter than old decrepit Grub.
1023 cylinders or not, sda2 was my /boot from the first time I installed
fedoralinux to some considerable time after I put in the second drive.
Old decrepit Grub handled it.
Why not wave of the future Grub?
Also note that sda2 does not cross the 1023 cylinder boundary.
root at localhost ~]# fdisk /dev/sda
Command (m for help): p
Disk /dev/sda: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders, total 78165360 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xece6ece6
Device Boot Start End Blocks Id System
/dev/sda1 * 63 28676024 14337981 c W95 FAT32 (LBA)
/dev/sda2 28676025 28871576 97776 83 Linux
/dev/sda3 28871577 45668888 8398656 83 Linux
/dev/sda4 45668889 78165359 16248235+ 5 Extended
/dev/sda5 45668952 49574888 1952968+ 82 Linux swap / Solaris
/dev/sda6 49574952 62856296 6640672+ 83 Linux
/dev/sda7 62856360 78165359 7654500 83 Linux
1023*78165360/4865=16436415< 28676025
I'm pretty sure it is Grub 2.
Not only do I have a brand new grub2 directory with nearly 200 files in it,
[root at localhost ~]# file - < /dev/sda
/dev/stdin: x86 boot sector; GRand Unified Bootloader, stage1 version 0x3, boot drive 0x80, stage2 address 0x2000, stage2 segment 0x200; partition 1: ID=0xc, active, starthead 1, startsector 63, 28675962 sectors; partition 2: ID=0x83, starthead 7, startsector 28676025, 195552 sectors; partition 3: ID=0x83, starthead 7, startsector 28871577, 16797312 sectors; partition 4: ID=0x5, starthead 7, startsector 45668889, 32496471 sectors, code offset 0x63
[root at localhost ~]# file - < /dev/sdb
/dev/stdin: x86 boot sector; GRand Unified Bootloader, stage1 version 0x3, stage2 address 0x2000, stage2 segment 0x200, GRUB version 0.97; partition 1: ID=0x83, starthead 1, startsector 63, 78140097 sectors; partition 2: ID=0x83, active, starthead 254, startsector 78140160, 192780 sectors; partition 3: ID=0x83, starthead 254, startsector 78332940, 31262490 sectors; partition 4: ID=0x5, starthead 254, startsector 109595430, 671822235 sectors, code offset 0x48
[root at localhost ~]#
--
Michael hennebry at web.cs.ndsu.NoDak.edu
"On Monday, I'm gonna have to tell my kindergarten class,
whom I teach not to run with scissors,
that my fiance ran me through with a broadsword." -- Lily
More information about the test
mailing list