On 8/15/06, Richard Fish <[EMAIL PROTECTED]> wrote:
On 8/15/06, THUFIR HAWAT <[EMAIL PROTECTED]> wrote:
> There are two hard drives. The slave has gentoo and win2k. GRUB
> seems to work fine, windows boots fine.
IDE (or rather PATA now) devices on linux are named in order of the
channel then master/slave device, so:
hda: master on first PATA channel
hdb: slave on first PATA channel
[...]
Understood, thanks.
I seem to have mucked things up a tad by formatting hda so that I
can't boot windows at the moment.
I'm thinking about how to edit grub.conf at the moment...
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED] cat grub.conf.sample -n
1 #
2 # Sample boot menu configuration file
3 #
4
5 # Boot automatically after 30 secs.
6 timeout 30
7
8 # By default, boot the first entry.
9 default 0
10
11 # Fallback to the second entry.
12 fallback 1
13
14 # For booting GNU/Hurd
15 title GNU/Hurd
16 root (hd0,0)
17 kernel /boot/gnumach.gz root=hd0s1
18 module /boot/serverboot.gz
19
20 # For booting GNU/Linux
21 title GNU/Linux
22 root (hd1,0)
23 kernel /vmlinuz root=/dev/hdb1
24 #initrd /initrd.img
25
26 # For booting GNU/kFreeBSD
27 title GNU/kFreeBSD
28 root (hd0,2,a)
29 kernel /boot/loader.gz
30
31 # For booting GNU/kNetBSD
32 title GNU/kNetBSD
33 root (hd0,2,a)
34 kernel --type=netbsd /boot/knetbsd.gz
35
36 # For booting Mach (getting kernel from floppy)
37 title Utah Mach4 multiboot
38 root (hd0,2)
39 pause Insert the diskette now!!
40 kernel (fd0)/boot/kernel root=hd0s3
41 module (fd0)/boot/bootstrap
42
43 # For booting FreeBSD
44 title FreeBSD
45 root (hd0,2,a)
46 kernel /boot/loader
47
48 # For booting NetBSD
49 title NetBSD
50 root (hd0,2,a)
51 kernel --type=netbsd /netbsd
52
53 # For booting OpenBSD
54 title OpenBSD
55 root (hd0,2,a)
56 kernel --type=netbsd /bsd
57
58 # For booting OS/2
59 title OS/2
60 root (hd0,1)
61 makeactive
62 # chainload OS/2 bootloader from the first sector
63 chainloader +1
64 # This is similar to "chainload", but loads a specific file
65 #chainloader /boot/chain.os2
66
67 # For booting Windows NT or Windows95
68 title Windows NT / Windows 95 boot menu
69 rootnoverify (hd0,0)
70 makeactive
71 chainloader +1
72 # For loading DOS if Windows NT is installed
73 # chainload /bootsect.dos
74
75 # For installing GRUB into the hard disk
76 title Install GRUB into the hard disk
77 root (hd0,0)
78 setup (hd0)
79
80 # Change the colors.
81 title Change the colors
82 color light-green/brown blink-red/blue
[EMAIL PROTECTED] cat grub.conf -n
1 default 0
2 timeout 30
3 splashimage=(hd0,1)/grub/splash.xpm.gz
4 title=Gentoo Linux
5 root (hd0,1)
6 kernel /kernel-genkernel-x86-2.6.15-gentoo-r5 root=/dev/ram0
init=/linuxrc ramdisk=8192 real_root=/dev/hda4
7 initrd /initramfs-genkernel-x86-2.6.15-gentoo-r5
8
9 title Windows
10 rootnoverify (hd0,0)
11 chainloader +1
12
[EMAIL PROTECTED] pwd
/media/hdb2/boot/grub
[EMAIL PROTECTED] whoami
knoppix
[EMAIL PROTECTED] date
Tue Aug 15 21:32:33 EDT 2006
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
-Thufir
--
gentoo-user@gentoo.org mailing list