FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora User

 
 
LinkBack Thread Tools
 
Old 05-02-2012, 08:34 PM
Joe Zeff
 
Default Grub2 MBR issues

On 05/02/2012 01:20 PM, Jeffrey Ross wrote:

[root@wisdom boot]# file -< /dev/sdb
/dev/stdin: x86 boot sector; GRand Unified Bootloader, stage1 version 0x3,
boot drive 0x80, 1st sector stage2 0x842a9; partition 1: ID=0xfd, active,
starthead 32, startsector 2048, 785137 sectors; partition 2: ID=0xfd,
starthead 0, startsector 787185, 15631245 sectors; partition 3: ID=0xfd,
starthead 0, startsector 16418430, 8000370 sectors; partition 4: ID=0x5,
starthead 254, startsector 24418800, 1929101265 sectors, code offset 0x63

Or am I reading the output from file wrong and its actually /dev/sda that
doesn't have grub2 installed on it?


Yup! That's exactly what you're doing, as the snippet above shows.
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
 
Old 05-02-2012, 08:36 PM
Reindl Harald
 
Default Grub2 MBR issues

Am 02.05.2012 22:20, schrieb Jeffrey Ross:
> I have a F16 system (which had been upgraded from F15) that is running
> RAID-1 for all volumes. I have notice that GRUB2 is only on /dev/sda but
> not on /dev/sdb

where do you read this?

> [root@wisdom boot]# file - < /dev/sda
> /dev/stdin: x86 boot sector; partition 1: ID=0xfd, active, starthead 32,
> startsector 2048, 785137 sectors; partition 2: ID=0xfd, starthead 0,
> startsector 787185, 15631245 sectors; partition 3: ID=0xfd, starthead 0,
> startsector 16418430, 8000370 sectors; partition 4: ID=0x5, starthead 254,
> startsector 24418800, 1929101265 sectors, code offset 0x63
>
> [root@wisdom boot]# file - < /dev/sdb
> /dev/stdin: x86 boot sector; GRand Unified Bootloader, stage1 version 0x3,
> boot drive 0x80, 1st sector stage2 0x842a9; partition 1: ID=0xfd, active,
> starthead 32, startsector 2048, 785137 sectors; partition 2: ID=0xfd,
> starthead 0, startsector 787185, 15631245 sectors; partition 3: ID=0xfd,
> starthead 0, startsector 16418430, 8000370 sectors; partition 4: ID=0x5,
> starthead 254, startsector 24418800, 1929101265 sectors, code offset 0x63
>
> My concern is if I were to loose /dev/sda I want to be able to boot via
> /dev/sdb.

yes, because /dev/sda does NOt have GRUB, /dev/sdb has

> Or am I reading the output from file wrong and its actually /dev/sda that
> doesn't have grub2 installed on it?

you see "GRand Unified Bootloader" on /dev/sdb and not on /dev/sda
no idea howyou are interpreting your outputs


--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
 
Old 05-02-2012, 08:46 PM
"Jeffrey Ross"
 
Default Grub2 MBR issues

>> My concern is if I were to loose /dev/sda I want to be able to boot via
>> /dev/sdb.
>
> yes, because /dev/sda does NOt have GRUB, /dev/sdb has
>
>> Or am I reading the output from file wrong and its actually /dev/sda
>> that
>> doesn't have grub2 installed on it?
>
> you see "GRand Unified Bootloader" on /dev/sdb and not on /dev/sda
> no idea howyou are interpreting your outputs
>
>

ok, misinformation from this post?
http://lists.fedoraproject.org/pipermail/users/2012-February/414336.html

Now the question is who is right? I'm starting to believe the post I
quoted above is incorrect.

Jeff

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
 
Old 05-02-2012, 08:51 PM
Reindl Harald
 
Default Grub2 MBR issues

Am 02.05.2012 22:46, schrieb Jeffrey Ross:
>
>>> My concern is if I were to loose /dev/sda I want to be able to boot via
>>> /dev/sdb.
>>
>> yes, because /dev/sda does NOt have GRUB, /dev/sdb has
>>
>>> Or am I reading the output from file wrong and its actually /dev/sda
>>> that
>>> doesn't have grub2 installed on it?
>>
>> you see "GRand Unified Bootloader" on /dev/sdb and not on /dev/sda
>> no idea howyou are interpreting your outputs
>>
>>
>
> ok, misinformation from this post?
> http://lists.fedoraproject.org/pipermail/users/2012-February/414336.html
>
> Now the question is who is right? I'm starting to believe the post I
> quoted above is incorrect.

not 100% sure, but here i have a 4 disk RAID1/RAID10/RAID10 setup
originating from F14 and upgraeded to F15 and F16

i did the same as with GRUB1

grub2-install /dev/sda
grub2-install /dev/sdb
grub2-install /dev/sdc
grub2-install /dev/sdd

it boots from any disk as also another from F15 to F16
upgraded system does this way after "hotplug" any disk
from the RAID1 device and it boots surely with GRUB2
__________________________

[root@srv-rhsoft:~]$ 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=0xfd, active, starthead 32, startsector 2048, 1024000 sectors; partition 2:
ID=0xfd, starthead 221, startsector 1026048, 30720000 sectors; partition 3: ID=0xfd, starthead 254, startsector
31746048, 3875225600 sectors, code offset 0x63

[root@srv-rhsoft:~]$ file - < /dev/sdb
/dev/stdin: x86 boot sector; GRand Unified Bootloader, stage1 version 0x3, boot drive 0x81, stage2 address 0x2000,
stage2 segment 0x200; partition 1: ID=0xfd, active, starthead 32, startsector 2048, 1024000 sectors; partition 2:
ID=0xfd, starthead 221, startsector 1026048, 30720000 sectors; partition 3: ID=0xfd, starthead 254, startsector
31746048, 3875225600 sectors, code offset 0x63

[root@srv-rhsoft:~]$ file - < /dev/sdc
/dev/stdin: x86 boot sector; GRand Unified Bootloader, stage1 version 0x3, stage2 address 0x2000, stage2 segment
0x200; partition 1: ID=0xfd, active, starthead 32, startsector 2048, 1024000 sectors; partition 2: ID=0xfd,
starthead 221, startsector 1026048, 30720000 sectors; partition 3: ID=0xfd, starthead 254, startsector 31746048,
3875225600 sectors, code offset 0x63

[root@srv-rhsoft:~]$ file - < /dev/sdd
/dev/stdin: x86 boot sector; GRand Unified Bootloader, stage1 version 0x3, boot drive 0x83, stage2 address 0x2000,
stage2 segment 0x200; partition 1: ID=0xfd, active, starthead 32, startsector 2048, 1024000 sectors; partition 2:
ID=0xfd, starthead 221, startsector 1026048, 30720000 sectors; partition 3: ID=0xfd, starthead 254, startsector
31746048, 3875225600 sectors, code offset 0x63

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
 
Old 05-02-2012, 09:01 PM
Joe Zeff
 
Default Grub2 MBR issues

On 05/02/2012 01:46 PM, Jeffrey Ross wrote:

ok, misinformation from this post?
http://lists.fedoraproject.org/pipermail/users/2012-February/414336.html

Now the question is who is right? I'm starting to believe the post I
quoted above is incorrect.


It's possible that it was correct when written, but AFAICT it's wrong
now. I have two physical drives, with grub2 installed on sda, as you
can clearly see here:


[root@khorlia ~]# file - </dev/sda
/dev/stdin: x86 boot sector; GRand Unified Bootloader, stage1 version
0x3, boot drive 0x80, 1st sector stage2 0x686489a; partition 1: ID=0xc,
active, starthead 1, startsector 63, 83885697 sectors; partition 2:
ID=0x83, starthead 254, startsector 83891430, 401625 sectors; partition
3: ID=0x83, starthead 254, startsector 84293055, 20964825 sectors;
partition 4: ID=0x5, starthead 254, startsector 105257880, 54813780
sectors, code offset 0x63

[root@khorlia ~]# file - </dev/sdb
/dev/stdin: x86 boot sector; partition 1: ID=0x8e, starthead 1,
startsector 63, 8001 sectors; partition 2: ID=0x83, starthead 0,
startsector 8064, 3499776 sectors; partition 3: ID=0x5, active,
starthead 0, startsector 3507840, 2838528 sectors, code offset 0x2

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
 
Old 05-03-2012, 01:06 AM
Joel Rees
 
Default Grub2 MBR issues

On Thu, May 3, 2012 at 5:46 AM, Jeffrey Ross <jeff@bubble.org> wrote:
>
>>> My concern is if I were to loose /dev/sda I want to be able to boot via
>>> /dev/sdb.
>>
>> yes, because /dev/sda does NOt have GRUB, /dev/sdb has
>>
>>> Or am I reading the output from file wrong and its actually /dev/sda
>>> that
>>> doesn't have grub2 installed on it?
>>
>> you see "GRand Unified Bootloader" on /dev/sdb and not on /dev/sda
>> no idea howyou are interpreting your outputs
>>
>>
>
> ok, misinformation from this post?
> http://lists.fedoraproject.org/pipermail/users/2012-February/414336.html
>
> Now the question is who is right? *I'm starting to believe the post I
> quoted above is incorrect.
>
> Jeff

The information you will be missing when grub2 is loaded is the string
"GRUB version 0.94" when you do it that way.

Also, grub2 is a work in progress. Things will change.

But the particularly post you were referring to was probably
misinterpreting something, most likely the drive letters (which, as
you might know, tend not to be stable, and, particularly not the same
letters when grub sees them at boot as when the OS, including the grub
tools, see them after the boot-up process is complete).

--
Joel Rees
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
 
Old 05-03-2012, 10:16 AM
Michael Schwendt
 
Default Grub2 MBR issues

On Wed, 2 May 2012 16:46:25 -0400, JR (Jeffrey) wrote:

>
> >> My concern is if I were to loose /dev/sda I want to be able to boot via
> >> /dev/sdb.
> >
> > yes, because /dev/sda does NOt have GRUB, /dev/sdb has
> >
> >> Or am I reading the output from file wrong and its actually /dev/sda
> >> that
> >> doesn't have grub2 installed on it?
> >
> > you see "GRand Unified Bootloader" on /dev/sdb and not on /dev/sda
> > no idea howyou are interpreting your outputs
> >
> >
>
> ok, misinformation from this post?
> http://lists.fedoraproject.org/pipermail/users/2012-February/414336.html
>
> Now the question is who is right? I'm starting to believe the post I
> quoted above is incorrect.

Certainly. Not only do you refer to a post that's a few months old.
For your /dev/sdb, "file" said "GRand Unified Bootloader", which means
it detected GRUB. Then you reinstalled GRUB to sdb only to find that
"file" still detects a "GRand Unified Bootloader" while you expected it
to not do that. That's been a weird assumption, IMO, leading to a wrong
conclusion.

--
Fedora release 17 (Beefy Miracle) - Linux 3.3.4-1.fc17.x86_64
loadavg: 0.06 0.08 0.22
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
 

Thread Tools




All times are GMT. The time now is 11:20 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org