* [gentoo-user] boot slave drive
@ 2006-08-29 20:40 Thufir
2006-08-29 23:55 ` Xupeng Yun
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Thufir @ 2006-08-29 20:40 UTC (permalink / raw
To: gentoo-user
fedora (FC5) is on hda (master), hdb (slave) has windows 2000 and gentoo.
I'm only unable to boot gentoo. When booting gentoo here's the error
message:
Booting "gentoo"
map () ()
map () ()
root (hd1,1)
filesystem type is ext3fs, partion type is 0x83
chainloader +1
error 13: Invalid or unsupported executable format.
press any key to continue...
and here's my /boot/grub/grub.conf from hda:
[thufir@arrakis Desktop]$
[thufir@arrakis Desktop]$
[thufir@arrakis Desktop]$ su -
Password:
[root@arrakis ~]#
[root@arrakis ~]# mount -t auto -r /dev/hdb4 /mnt/gentoo/
[root@arrakis ~]#
[root@arrakis ~]# ll /mnt/gentoo/boot/
total 0
[root@arrakis ~]#
[root@arrakis ~]# cat -n /boot/grub/grub.conf
1 # grub.conf generated by anaconda
2 #
3 # Note that you do not have to rerun grub after making changes to this file
4 # NOTICE: You have a /boot partition. This means that
5 # all kernel and initrd paths are relative to /boot/, eg.
6 # root (hd0,0)
7 # kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
8 # initrd /initrd-version.img
9 #boot=/dev/hda1
10 default=0
11 timeout=5
12 splashimage=(hd0,0)/grub/splash.xpm.gz
13
14 #hiddenmenu
15
16 title Fedora Core (2.6.15-1.2054_FC5)
17 root (hd0,0)
18 kernel /vmlinuz-2.6.15-1.2054_FC5 ro root=/dev/VolGroup00/LogVol00
rhgb quiet
19 initrd /initrd-2.6.15-1.2054_FC5.img
20
21 title win2k
22 # 21 try adding 2 additional lines in there before the rootnoverify
option
23 map (hd0) (hd1)
24 map (hd1) (hd0)
25 rootnoverify (hd1,0)
26 chainloader +1
27
28 title Gentoo
29 map (hd0) (hd1)
30 map (hd1) (hd0)
31 root (hd1,1)
32 chainloader +1
33 kernel /kernel-genkernel-x86-2.6.15-gentoo-r5 root=/dev/ram0
init=/linuxrc ramdisk=8192 real_root=/dev/hda4
34 initrd /initramfs-genkernel-x86-2.6.15-gentoo-r5
35 chainloader +1
[root@arrakis ~]#
[root@arrakis ~]# exit
logout
[thufir@arrakis Desktop]$
[thufir@arrakis Desktop]$ date
Tue Aug 29 21:36:13 IST 2006
[thufir@arrakis Desktop]$
[thufir@arrakis Desktop]$
Not sure why there's not /mnt/gentoo/boot/grub/grub.conf file, but I took
down what I believe the correct info is, kernel and so forth, in order to
boot gentoo.
--
Thufir
<http://hawat.thufir.googlepages.com/>
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] boot slave drive
2006-08-29 20:40 [gentoo-user] boot slave drive Thufir
@ 2006-08-29 23:55 ` Xupeng Yun
2006-08-30 0:06 ` Richard Fish
2006-08-30 22:15 ` [gentoo-user] " Thufir
2 siblings, 0 replies; 6+ messages in thread
From: Xupeng Yun @ 2006-08-29 23:55 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 403 bytes --]
2006/8/30, Thufir <hawat.thufir@gmail.com>:
>
> 21 title win2k
> 22 # 21 try adding 2 additional lines in there before the
> rootnoverify
> option
> 23 map (hd0) (hd1)
> 24 map (hd1) (hd0)
> 25 rootnoverify (hd1,0)
> 26 chainloader +1
>
should be:
chainloader (hd1,0)+1
--
I like Python & Linux.
Blog: http://recordus.cublog.cn
[-- Attachment #2: Type: text/html, Size: 1086 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] boot slave drive
2006-08-29 20:40 [gentoo-user] boot slave drive Thufir
2006-08-29 23:55 ` Xupeng Yun
@ 2006-08-30 0:06 ` Richard Fish
2006-08-30 22:15 ` [gentoo-user] " Thufir
2 siblings, 0 replies; 6+ messages in thread
From: Richard Fish @ 2006-08-30 0:06 UTC (permalink / raw
To: gentoo-user
On 8/29/06, Thufir <hawat.thufir@gmail.com> wrote:
> 28 title Gentoo
> 29 map (hd0) (hd1)
> 30 map (hd1) (hd0)
> 31 root (hd1,1)
> 32 chainloader +1
> 33 kernel /kernel-genkernel-x86-2.6.15-gentoo-r5 root=/dev/ram0
> init=/linuxrc ramdisk=8192 real_root=/dev/hda4
> 34 initrd /initramfs-genkernel-x86-2.6.15-gentoo-r5
> 35 chainloader +1
The map commands and chainloaders are almost certainly not necessary. Try:
title Gentoo
kernel (hd1,1)/kernel-genkernel-x86-2.6.15-gentoo-r5
root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/hdb4
initrd (hd1,1)/initramfs-genkernel-x86-2.6.15-gentoo-r5
HTH,
-Richard
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 6+ messages in thread
* [gentoo-user] Re: boot slave drive
2006-08-29 20:40 [gentoo-user] boot slave drive Thufir
2006-08-29 23:55 ` Xupeng Yun
2006-08-30 0:06 ` Richard Fish
@ 2006-08-30 22:15 ` Thufir
2006-08-31 0:05 ` Richard Fish
2 siblings, 1 reply; 6+ messages in thread
From: Thufir @ 2006-08-30 22:15 UTC (permalink / raw
To: gentoo-user
On Tue, 29 Aug 2006, Thufir wrote:
> From: Thufir <hawat.thufir@gmail.com>
> Subject: boot slave drive
> Newsgroups: gmane.linux.gentoo.user
>
> fedora (FC5) is on hda (master), hdb (slave) has windows 2000 and gentoo.
>
> I'm only unable to boot gentoo. When booting gentoo here's the error
> message:
[...]
Progress :)
New error message:
checking root filesystem
fsc ext3: No such device or address while trying to open /dev/hda4
Possibly non existen or swap device?
* fileystem couldn't be fixed
Give root password for maintenance (or type Control-D to continue).
dismounting filesystem
rebooting
//////////////////////////////
current grub file:
[thufir@arrakis ~]$
[thufir@arrakis ~]$ su -
Password:
[root@arrakis ~]#
[root@arrakis ~]# cat /boot/grub/grub.conf -n
1 # grub.conf generated by anaconda
2 #
3 # Note that you do not have to rerun grub after making changes to this file
4 # NOTICE: You have a /boot partition. This means that
5 # all kernel and initrd paths are relative to /boot/, eg.
6 # root (hd0,0)
7 # kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
8 # initrd /initrd-version.img
9 #boot=/dev/hda1
10 default=0
11 timeout=5
12 splashimage=(hd0,0)/grub/splash.xpm.gz
13
14 #hiddenmenu
15
16 title Fedora Core (2.6.15-1.2054_FC5)
17 root (hd0,0)
18 kernel /vmlinuz-2.6.15-1.2054_FC5 ro root=/dev/VolGroup00/LogVol00
rhgb quiet
19 initrd /initrd-2.6.15-1.2054_FC5.img
20
21 title win2k
22 map (hd0) (hd1)
23 map (hd1) (hd0)
24 rootnoverify (hd1,0)
25 chainloader +1
26
27 title Gentoo
28 kernel (hd1,1)/kernel-genkernel-x86-2.6.15-gentoo-r5 root=/dev/ram0
init=/linuxrc ramdisk=8192 real_root=/dev/hdb4
29 initrd (hd1,1)/initramfs-genkernel-x86-2.6.15-gentoo-r5
30
31
[root@arrakis ~]#
[root@arrakis ~]# exit
logout
[thufir@arrakis ~]$
[thufir@arrakis ~]$ date
Wed Aug 30 23:10:34 IST 2006
[thufir@arrakis ~]$
[thufir@arrakis ~]$
/////////////////////////
I don't think it's a problem with grub per se, but that hdb used to be
hda, which is why there's an error regarding the filesystem of hda.
Gentoo needs to be "informed", I think, that it's on hdb now.
--
Thufir
<http://hawat.thufir.googlepages.com/>
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] Re: boot slave drive
2006-08-30 22:15 ` [gentoo-user] " Thufir
@ 2006-08-31 0:05 ` Richard Fish
2006-08-31 4:00 ` THUFIR HAWAT
0 siblings, 1 reply; 6+ messages in thread
From: Richard Fish @ 2006-08-31 0:05 UTC (permalink / raw
To: gentoo-user
On 8/30/06, Thufir <hawat.thufir@gmail.com> wrote:
> checking root filesystem
> fsc ext3: No such device or address while trying to open /dev/hda4
Fix /etc/fstab. Replace all /dev/hda with /dev/hdb.
-Richard
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] Re: boot slave drive
2006-08-31 0:05 ` Richard Fish
@ 2006-08-31 4:00 ` THUFIR HAWAT
0 siblings, 0 replies; 6+ messages in thread
From: THUFIR HAWAT @ 2006-08-31 4:00 UTC (permalink / raw
To: gentoo-user
On 8/31/06, Richard Fish <bigfish@asmallpond.org> wrote:
> On 8/30/06, Thufir <hawat.thufir@gmail.com> wrote:
> > checking root filesystem
> > fsc ext3: No such device or address while trying to open /dev/hda4
>
> Fix /etc/fstab. Replace all /dev/hda with /dev/hdb.
>
> -Richard
[...]
Excellent! thanks :)
-Thufir
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2006-08-31 4:06 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-29 20:40 [gentoo-user] boot slave drive Thufir
2006-08-29 23:55 ` Xupeng Yun
2006-08-30 0:06 ` Richard Fish
2006-08-30 22:15 ` [gentoo-user] " Thufir
2006-08-31 0:05 ` Richard Fish
2006-08-31 4:00 ` THUFIR HAWAT
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox