Gentoo Archives: gentoo-user

From: Thufir <hawat.thufir@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] boot slave drive
Date: Tue, 29 Aug 2006 20:44:22
Message-Id: Pine.LNX.4.64.0608291935070.7089@neenxvf.ubzryvahk.bet
1 fedora (FC5) is on hda (master), hdb (slave) has windows 2000 and gentoo.
2
3 I'm only unable to boot gentoo. When booting gentoo here's the error
4 message:
5
6 Booting "gentoo"
7 map () ()
8 map () ()
9 root (hd1,1)
10
11 filesystem type is ext3fs, partion type is 0x83
12 chainloader +1
13
14
15 error 13: Invalid or unsupported executable format.
16
17
18 press any key to continue...
19
20
21
22 and here's my /boot/grub/grub.conf from hda:
23
24 [thufir@arrakis Desktop]$
25 [thufir@arrakis Desktop]$
26 [thufir@arrakis Desktop]$ su -
27 Password:
28 [root@arrakis ~]#
29 [root@arrakis ~]# mount -t auto -r /dev/hdb4 /mnt/gentoo/
30 [root@arrakis ~]#
31 [root@arrakis ~]# ll /mnt/gentoo/boot/
32 total 0
33 [root@arrakis ~]#
34 [root@arrakis ~]# cat -n /boot/grub/grub.conf
35 1 # grub.conf generated by anaconda
36 2 #
37 3 # Note that you do not have to rerun grub after making changes to this file
38 4 # NOTICE: You have a /boot partition. This means that
39 5 # all kernel and initrd paths are relative to /boot/, eg.
40 6 # root (hd0,0)
41 7 # kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
42 8 # initrd /initrd-version.img
43 9 #boot=/dev/hda1
44 10 default=0
45 11 timeout=5
46 12 splashimage=(hd0,0)/grub/splash.xpm.gz
47 13
48 14 #hiddenmenu
49 15
50 16 title Fedora Core (2.6.15-1.2054_FC5)
51 17 root (hd0,0)
52 18 kernel /vmlinuz-2.6.15-1.2054_FC5 ro root=/dev/VolGroup00/LogVol00
53 rhgb quiet
54 19 initrd /initrd-2.6.15-1.2054_FC5.img
55 20
56 21 title win2k
57 22 # 21 try adding 2 additional lines in there before the rootnoverify
58 option
59 23 map (hd0) (hd1)
60 24 map (hd1) (hd0)
61 25 rootnoverify (hd1,0)
62 26 chainloader +1
63 27
64 28 title Gentoo
65 29 map (hd0) (hd1)
66 30 map (hd1) (hd0)
67 31 root (hd1,1)
68 32 chainloader +1
69 33 kernel /kernel-genkernel-x86-2.6.15-gentoo-r5 root=/dev/ram0
70 init=/linuxrc ramdisk=8192 real_root=/dev/hda4
71 34 initrd /initramfs-genkernel-x86-2.6.15-gentoo-r5
72 35 chainloader +1
73 [root@arrakis ~]#
74 [root@arrakis ~]# exit
75 logout
76
77 [thufir@arrakis Desktop]$
78 [thufir@arrakis Desktop]$ date
79 Tue Aug 29 21:36:13 IST 2006
80 [thufir@arrakis Desktop]$
81 [thufir@arrakis Desktop]$
82
83
84 Not sure why there's not /mnt/gentoo/boot/grub/grub.conf file, but I took
85 down what I believe the correct info is, kernel and so forth, in order to
86 boot gentoo.
87
88 --
89 Thufir
90 <http://hawat.thufir.googlepages.com/>
91 --
92 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] boot slave drive Xupeng Yun <recordus@×××××.com>
Re: [gentoo-user] boot slave drive Richard Fish <bigfish@××××××××××.org>
[gentoo-user] Re: boot slave drive Thufir <hawat.thufir@×××××.com>