Gentoo Archives: gentoo-user

From: Jeff Cranmer <jcranmer01@×××××××××.net>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: Grub problems
Date: Sun, 29 Oct 2006 19:26:53
Message-Id: 24022346.1162149738311.JavaMail.root@elwamui-norfolk.atl.sa.earthlink.net
1 Update.
2
3 After a little bit of surfing, I tried the command grub-install --recheck /dev/sda
4 That changed the device map file so that the /dev/sda drive mapped to hd2
5
6 The full /boot/grub/device.map listing is now
7 (fd0) /dev/fd0
8 (hd0) /dev/hde
9 (hd1) /dev/hdh
10 (hd2) /dev/sda
11
12 I edited the grub.conf file so that the splash image and root lines reference (hd2,5), then re-ran grub-install /dev/sda. Still no joy. On boot up, the screen stays blank for a while, then every 10 seconds or so, it adds another " GRUB" text element to the screen. No sign of any boot-up activity.
13
14 Jeff
15
16 -----Original Message-----
17 >From: Jeff Cranmer <jcranmer01@×××××××××.net>
18 >Sent: Oct 29, 2006 1:47 PM
19 >To: gentoo-user@g.o
20 >Subject: Grub problems
21 >
22 >I am trying to bring up a new Linux unit (my old desktop died on Thursday).
23 >My hardware is an ASUS M2NPV-VM motherboard, running an Athlon X2 3800+ Dual core processor.
24 >
25 >I have a serial ATA 250GB hard drive which I am attempting to install my OS into. The hard drive maps in the bios to SATA4, and maps within Linux to /dev/sda.
26 >
27 >I also have two other parallel IDE dard drives, connected via a raid controller (though not configured for RAID) to Drive numbers 0 and 3 on the RAID controller. These drives map to hde and hdh respectively, with a DVD writer mapping to both /dev/hda and /dev/dvdrw.
28 >
29 >The bios is configured to boot first from the DVD (primary IDE master) then from the 250GB SATA hard drive.
30 >
31 >swapspace is on /dev/sda2, /boot is on /dev/sda1, and root is on /dev/sda6
32 >
33 >I am running genkernel
34 >
35 >After I configure grub, and install grub to the mbr using grub-install, the reboot fails, with GRUB doing nothing but display the text 'GRUB'.
36 >
37 >Evidently, either I am doing something wrong at the grub-install stage, or there is a problem with grub. I have had a similar lack of success with Fedora Core 6 and Mandriva installs (same problem).
38 >
39 >The boot partition is an ext3 filesystem
40 >
41 >My grub.conf file is as follows:
42 >
43 >default=0
44 >timeout=30
45 >splashimage=(hd0,5)/boot/grub/splash.xpm.gz
46 >title=Gentoo Linux 2.6.17-r8
47 > root (hd0,5)
48 > kernel /boot/kernel-genkernel-x86_64-2,6,17-gentoo-r8 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/sda6 udev vga=0x318 video=vesafb:mtrr:3,ywrap doscsi
49 > initrd /boot/initramfs-genkernel-x86_64-2.6.17-gentoo-r8
50 >
51 >When I run grub-install /dev/sda, it reports no errors.
52 >
53 >The device.map file contains the following
54 >(hd0) /dev/sda
55 >This file was generated by the fedora installation (possibly the source of the problem?).
56 >
57 >Any suggestions gratefully received, as I'm trying to get this system working by the end of the weekend.
58 >
59 >Thanks in advance
60 >
61 >Jeff
62
63 --
64 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Re: Grub problems Joe Menola <menola@×××××××××.net>