Re: [gentoo-user] boot nightmare. grub grub grub....
On Sun, Feb 27, 2005 at 01:13:00AM -0500, J. Patrick Campbell wrote: > i've been fighting this new install for 2 days now. > i've tried grub and lilo. > grub just scrolls 'GRUB' down the screen, no matter what do. > lilo prints 02 about 30 times and stops > i've tried 2 hard drives in this machine which was previously running XP. > it's a p4 1.7ghz with 512mb ram I've mostly seen behavior that resembles this when I've tried to load boot-code from from an invalid place. Depending on how picky your BIOS is, and the exact configuration you're using, you should make absolutely sure you've installed the boot-code where you think you're installed it, that you're loading from where you think you've installed it, and that you're trying to load it from a partition that has been set as active. -- Adam Fabian ([EMAIL PROTECTED]) -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] boot nightmare. grub grub grub....
On Sun, 27 Feb 2005, J. Patrick Campbell wrote: i boot from livecd 2004.3 i mount root, boot, proc, turn on swap and chroot. then i run grub root (hd0,0) setup (hd0) this runs ok with no errors. on reboot it just scrolls GRUB. i'm stuck! thanks, Did you copy /proc/mounts to /etc/mtab before doing the above? Best regards Peter K -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] boot nightmare. grub grub grub....
On Mon, 28 Feb 2005, Al wrote: > J. Patrick Campbell wrote: > > > > title Gentoo Linux 2.6.10r6 > > root (hd0,0) > > kernel (hd0,0)/kernel-2.6.10 root=/dev/hda3 > > > > If your kernels are in /boot then I think you need to > reference this in grub.conf i.e. > > kernel (hd0,0)/boot/kernel-2.6.10 root=/dev/hda3 Actually you dont need to do that because of the sym link /boot/boot. -- A. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] boot nightmare. grub grub grub....
You don't need to add "boot". They're only there because that's where the partition is mounted. On Mon, 28 Feb 2005 00:08:58 +, Al <[EMAIL PROTECTED]> wrote: > > > J. Patrick Campbell wrote: > > > > > > > title Gentoo Linux 2.6.10r6 > > > root (hd0,0) > > > kernel (hd0,0)/kernel-2.6.10 root=/dev/hda3 > > > > > > > If your kernels are in /boot then I think you need to > > reference this in grub.conf i.e. > > > > kernel (hd0,0)/boot/kernel-2.6.10 root=/dev/hda3 -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] boot nightmare. grub grub grub....
J. Patrick Campbell wrote: > title Gentoo Linux 2.6.10r6 > root (hd0,0) > kernel (hd0,0)/kernel-2.6.10 root=/dev/hda3 > If your kernels are in /boot then I think you need to reference this in grub.conf i.e. kernel (hd0,0)/boot/kernel-2.6.10 root=/dev/hda3
Re: [gentoo-user] boot nightmare. grub grub grub....
I'm not sure if you're describing the same issue I'm having. I followed the amd64 handbook to install gentoo. When I go to reboot my system, all I get is "GRUB Loading stage1.5" over and over again. Any Ideas? On Sun, 27 Feb 2005 17:56:42 +0100, Heinz Sporn <[EMAIL PROTECTED]> wrote: > Hi! > > Ol' GRUB can be a nasty little fellow. Ok let's see: > > You tried to install GRUB to /dev/hda. During the installation GRUB > needs access to /boot since it puts its configuration files > into /boot/grub. Your fstab lists /dev/hda1 (where /boot resides) as > noauto. Did you really mount it before you ran setup? > > An alternative way to install grub: > > grub-install /dev/hda --root-directory= -- recheck > > If in your scenario the mount point for /dev/hda1 is /mnt/gentoo than > the correct command would be: > > grub-install /dev/hda --root-directory=/mnt/gentoo -- recheck > > Regards > >spox > > Am Sonntag, den 27.02.2005, 01:13 -0500 schrieb J. Patrick Campbell: > > i've been fighting this new install for 2 days now. > > i've tried grub and lilo. > > grub just scrolls 'GRUB' down the screen, no matter what do. > > lilo prints 02 about 30 times and stops > > i've tried 2 hard drives in this machine which was previously running XP. > > it's a p4 1.7ghz with 512mb ram > > > > here's my grub.conf > > > > default 0 > > timeout 4 > > > > title Gentoo Linux 2.6.10r6 > > root (hd0,0) > > kernel (hd0,0)/kernel-2.6.10 root=/dev/hda3 > > > > here's my /etc/fstab > > > > # > > > > > > # NOTE: If your BOOT partition is ReiserFS, add the notail option to opts. > > /dev/hda1 /boot ext2noauto,noatime > > 1 1 > > /dev/hda3 / reiserfsnoatime > > 0 0 > > /dev/hda2 noneswapsw > > 0 0 > > /dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,ro > > 0 0 > > #/dev/fd0 /mnt/floppy autonoauto > > 0 0 > > > > # NOTE: The next line is critical for boot! > > none/proc procdefaults > > 0 0 > > > > # glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for > > # POSIX shared memory (shm_open, shm_unlink). > > # (tmpfs is a dynamically expandable/shrinkable ramdisk, and will > > # use almost no memory if not populated with files) > > # Adding the following line to /etc/fstab should take care of this: > > > > none/dev/shmtmpfs defaults > > 0 0 > > > > > > --- > > > > i boot from livecd 2004.3 > > i mount root, boot, proc, turn on swap and chroot. > > then i run grub > > > > root (hd0,0) > > setup (hd0) > > > > this runs ok with no errors. > > on reboot it just scrolls GRUB. > > > > i'm stuck! > > thanks, > > > > ~P > > > > > -- > Mit freundlichen Grüßen > > Heinz Sporn > > SPORN it-freelancing > > Mobile: ++43 (0)699 / 127 827 07 > Email: [EMAIL PROTECTED] >[EMAIL PROTECTED] > Snail: Steyrer Str. 20 >A-4540 Bad Hall >Austria / Europespox > > > -- > gentoo-user@gentoo.org mailing list > > -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] boot nightmare. grub grub grub....
Hi! Ol' GRUB can be a nasty little fellow. Ok let's see: You tried to install GRUB to /dev/hda. During the installation GRUB needs access to /boot since it puts its configuration files into /boot/grub. Your fstab lists /dev/hda1 (where /boot resides) as noauto. Did you really mount it before you ran setup? An alternative way to install grub: grub-install /dev/hda --root-directory= -- recheck If in your scenario the mount point for /dev/hda1 is /mnt/gentoo than the correct command would be: grub-install /dev/hda --root-directory=/mnt/gentoo -- recheck Regards spox Am Sonntag, den 27.02.2005, 01:13 -0500 schrieb J. Patrick Campbell: > i've been fighting this new install for 2 days now. > i've tried grub and lilo. > grub just scrolls 'GRUB' down the screen, no matter what do. > lilo prints 02 about 30 times and stops > i've tried 2 hard drives in this machine which was previously running XP. > it's a p4 1.7ghz with 512mb ram > > here's my grub.conf > > default 0 > timeout 4 > > title Gentoo Linux 2.6.10r6 > root (hd0,0) > kernel (hd0,0)/kernel-2.6.10 root=/dev/hda3 > > here's my /etc/fstab > > # > > > # NOTE: If your BOOT partition is ReiserFS, add the notail option to opts. > /dev/hda1 /boot ext2noauto,noatime > 1 1 > /dev/hda3 / reiserfsnoatime > 0 0 > /dev/hda2 noneswapsw > 0 0 > /dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,ro > 0 0 > #/dev/fd0 /mnt/floppy autonoauto > 0 0 > > # NOTE: The next line is critical for boot! > none/proc procdefaults > 0 0 > > # glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for > # POSIX shared memory (shm_open, shm_unlink). > # (tmpfs is a dynamically expandable/shrinkable ramdisk, and will > # use almost no memory if not populated with files) > # Adding the following line to /etc/fstab should take care of this: > > none/dev/shmtmpfs defaults > 0 0 > > > --- > > i boot from livecd 2004.3 > i mount root, boot, proc, turn on swap and chroot. > then i run grub > > root (hd0,0) > setup (hd0) > > this runs ok with no errors. > on reboot it just scrolls GRUB. > > i'm stuck! > thanks, > > ~P > > -- Mit freundlichen Grüßen Heinz Sporn SPORN it-freelancing Mobile: ++43 (0)699 / 127 827 07 Email: [EMAIL PROTECTED] [EMAIL PROTECTED] Snail: Steyrer Str. 20 A-4540 Bad Hall Austria / Europespox -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] boot nightmare. grub grub grub....
You are missing some vital detail: what motherboard and disk drive (and is it ide or sata etc. Did you try tab completion within grub to see whats available (i.e., is /dev/hda really hd(0)? One recent "funny" I have come across is the grub numbering changes depending on what you boot from (via the bios boot select) - very confusing. tab completion helps to map out whats really happening. On Sun, 2005-02-27 at 01:13 -0500, J. Patrick Campbell wrote: > i've been fighting this new install for 2 days now. > -- William Kenworthy <[EMAIL PROTECTED]> Home! -- gentoo-user@gentoo.org mailing list
[gentoo-user] boot nightmare. grub grub grub....
i've been fighting this new install for 2 days now. i've tried grub and lilo. grub just scrolls 'GRUB' down the screen, no matter what do. lilo prints 02 about 30 times and stops i've tried 2 hard drives in this machine which was previously running XP. it's a p4 1.7ghz with 512mb ram here's my grub.conf default 0 timeout 4 title Gentoo Linux 2.6.10r6 root (hd0,0) kernel (hd0,0)/kernel-2.6.10 root=/dev/hda3 here's my /etc/fstab # # NOTE: If your BOOT partition is ReiserFS, add the notail option to opts. /dev/hda1 /boot ext2noauto,noatime 1 1 /dev/hda3 / reiserfsnoatime 0 0 /dev/hda2 noneswapsw 0 0 /dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,ro 0 0 #/dev/fd0 /mnt/floppy autonoauto 0 0 # NOTE: The next line is critical for boot! none/proc procdefaults 0 0 # glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for # POSIX shared memory (shm_open, shm_unlink). # (tmpfs is a dynamically expandable/shrinkable ramdisk, and will # use almost no memory if not populated with files) # Adding the following line to /etc/fstab should take care of this: none/dev/shmtmpfs defaults 0 0 --- i boot from livecd 2004.3 i mount root, boot, proc, turn on swap and chroot. then i run grub root (hd0,0) setup (hd0) this runs ok with no errors. on reboot it just scrolls GRUB. i'm stuck! thanks, ~P -- http://patrickcampbell.us -- gentoo-user@gentoo.org mailing list