View previous topic :: View next topic |
Author |
Message |
MethodZ n00b
Joined: 04 Sep 2005 Posts: 49 Location: /root/
|
Posted: Wed Sep 07, 2005 4:53 pm Post subject: |
|
|
Neddy you were right... now it just keeps restarting itself... _________________ /dev/hda1/Kernel: 2.6.12-gentoo-r10
/dev/hda2/Linux User#: 398539
/dev/hda3/Status: Running. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54216 Location: 56N 3W
|
Posted: Wed Sep 07, 2005 5:20 pm Post subject: |
|
|
MethodZ,
You may have made your kernel for a CPU you don't have. That will cause an illegal instruction exception and the kernel will restart ... in an endless loop.
Boot with the liveCD, mount your partitions and Code: | cd /mnt/gentoo/usr/src/linux | then run and inspect the settings under Processor type and features.
If its wrong, you will need to get into the chroot to fix it and reinstall your kernel.
I'm assuming now that the problem is kernel related, not grub, so you get the grub menu, choose an item, then it goes wrong. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
MethodZ n00b
Joined: 04 Sep 2005 Posts: 49 Location: /root/
|
Posted: Wed Sep 07, 2005 6:46 pm Post subject: |
|
|
Kernel is fine... what i did was forgot to make /dev/hdb1 bootable... but thats fixed
now i have a flooding grub loading stage1.5. at boot lol _________________ /dev/hda1/Kernel: 2.6.12-gentoo-r10
/dev/hda2/Linux User#: 398539
/dev/hda3/Status: Running. |
|
Back to top |
|
|
MethodZ n00b
Joined: 04 Sep 2005 Posts: 49 Location: /root/
|
Posted: Wed Sep 07, 2005 7:02 pm Post subject: |
|
|
ok now the grub is doing this
grub loading....
the comes to grub prompt.... _________________ /dev/hda1/Kernel: 2.6.12-gentoo-r10
/dev/hda2/Linux User#: 398539
/dev/hda3/Status: Running. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54216 Location: 56N 3W
|
Posted: Wed Sep 07, 2005 7:24 pm Post subject: |
|
|
MethodZ,
Is it looking for a floppy but you either don't have one or there is no dosk in the drive (the drive light will be on) ?
Install grub on the MBR of (hd1) manually. No need to re-emerge. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
MethodZ n00b
Joined: 04 Sep 2005 Posts: 49 Location: /root/
|
Posted: Wed Sep 07, 2005 7:32 pm Post subject: |
|
|
I don't understand that...
I'm saying... now the grub loads... but it only loads the grub prompt... _________________ /dev/hda1/Kernel: 2.6.12-gentoo-r10
/dev/hda2/Linux User#: 398539
/dev/hda3/Status: Running. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54216 Location: 56N 3W
|
Posted: Wed Sep 07, 2005 8:32 pm Post subject: |
|
|
MethodZ,
It looks like you have a Syntax error in grub.conf. Post the file content please. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
MethodZ n00b
Joined: 04 Sep 2005 Posts: 49 Location: /root/
|
Posted: Wed Sep 07, 2005 8:38 pm Post subject: |
|
|
ok this is the grub.conf
Code: |
default 0
timeout 10
splashimage=(hd0,0)/grub/splash.xpm.gz
title=Gentoo Linux 2.6.12-r10
root (hd0,0)
kernel /kernel-2.6.12-gentoo-r10 root=/dev/hdb3 |
[/code] _________________ /dev/hda1/Kernel: 2.6.12-gentoo-r10
/dev/hda2/Linux User#: 398539
/dev/hda3/Status: Running. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54216 Location: 56N 3W
|
Posted: Wed Sep 07, 2005 8:45 pm Post subject: |
|
|
MethodZ,
Hmm, are you sure?
I thought we fixed the (hd0, entries before ....
Code: | default 0
timeout 10
splashimage=(hd1,0)/grub/splash.xpm.gz
title=Gentoo Linux 2.6.12-r10
root (hd1,0)
kernel /kernel-2.6.12-gentoo-r10 root=/dev/hdb3 |
_________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
MethodZ n00b
Joined: 04 Sep 2005 Posts: 49 Location: /root/
|
Posted: Wed Sep 07, 2005 8:51 pm Post subject: |
|
|
Ok That's corrected, Now I'm back to the restart problem.. it just goes round and round.... _________________ /dev/hda1/Kernel: 2.6.12-gentoo-r10
/dev/hda2/Linux User#: 398539
/dev/hda3/Status: Running. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54216 Location: 56N 3W
|
Posted: Wed Sep 07, 2005 8:58 pm Post subject: |
|
|
MethodZ,
Describe how far you get...
The grub loading message
The grub splash screen, with the menu over the top...
You select Gentoo Linux 2.6.12-r10 or wait for the timeout ...
You see a message uncompressing Linux, then some more messages scroll by ...
Any errors?
What is the last message ? _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
MethodZ n00b
Joined: 04 Sep 2005 Posts: 49 Location: /root/
|
Posted: Wed Sep 07, 2005 9:43 pm Post subject: |
|
|
Ok, It says
Code: | Grub Loading stage1.5.
GRUB loading, Please Wait.... |
then just reboots _________________ /dev/hda1/Kernel: 2.6.12-gentoo-r10
/dev/hda2/Linux User#: 398539
/dev/hda3/Status: Running. |
|
Back to top |
|
|
jmbsvicetto Moderator
Joined: 27 Apr 2005 Posts: 4734 Location: Angra do Heroísmo (PT)
|
Posted: Wed Sep 07, 2005 11:52 pm Post subject: |
|
|
lysergicacid wrote: | yes jmbsvicetto ive tried totally removing the make.conf and using a default extracted from the base system tar.bz2 and it still wont build |
Hi.
Sorry, but I'm lost. I can't recollect what you're talking about. Care to fill me in again? _________________ Jorge.
Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh
|
|
Back to top |
|
|
jmbsvicetto Moderator
Joined: 27 Apr 2005 Posts: 4734 Location: Angra do Heroísmo (PT)
|
Posted: Wed Sep 07, 2005 11:54 pm Post subject: |
|
|
MethodZ,
please post your current /boot/grub/grub.conf file, the output of fdisk -l and explain how you've installed GRUB. _________________ Jorge.
Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh
|
|
Back to top |
|
|
MethodZ n00b
Joined: 04 Sep 2005 Posts: 49 Location: /root/
|
Posted: Thu Sep 08, 2005 4:19 am Post subject: |
|
|
don't worry... i am reinstalling ... few other mistakes that go to deep... sorry for annoyance!... _________________ /dev/hda1/Kernel: 2.6.12-gentoo-r10
/dev/hda2/Linux User#: 398539
/dev/hda3/Status: Running. |
|
Back to top |
|
|
onlybui n00b
Joined: 25 May 2005 Posts: 40
|
Posted: Thu Sep 08, 2005 1:12 pm Post subject: Grub Menu not coming up |
|
|
hi the problem I'm having is that my grub menu does not come up and stuck with a left hand curser, but I'm able to press down error key to boot into X64 or hit enter to boot into gentoo.....
But for a brief momment where it shows the grub code after entering enter on the option to boot into the OS it is not readable... like the display goes all wack and then you see either gentoo boot or x64 boot and screen goes ok? I followed the instructions from the manual but read that you might need to do Code: | grub-install -recheck /dev/sda | which I ddin't do, but able to boot find but not able to see the grub menu...
also this is my sda, aslo im using ati express on a amd64 bit board
sda1 x64
sda2 boot
sda3 swap
sda4 /
my grub
default 0
timeout 30
splashimage=(hd0,0)/grub/splash.xpm.gz
title=Gentoo Linux-2.6.12-gentoo-r9
root (hd0,1)
kernel /kernel-genkernel-x86-2.6.12-gentoo-r9 root=/dev/ram0 init=/linuxrc
ramdisk=8192 real_root=/dev/sda4 udev splash=silent vga=0x31B video=vesafb:mtrr,ywrap
initrd /initramfs-genkernel-x86-2.6.12-gentoo-r9
# Only in case you want to dual-boot
title=Windows XP
root (hd0,0)
makeactive
chainloader +1 |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54216 Location: 56N 3W
|
Posted: Thu Sep 08, 2005 4:29 pm Post subject: |
|
|
onlybui,
Code: | default 0
timeout 30
splashimage=(hd0,0)/grub/splash.xpm.gz
title=Gentoo Linux-2.6.12-gentoo-r9
root (hd0,1)
kernel /kernel-genkernel-x86-2.6.12-gentoo-r9 root=/dev/ram0 init=/linuxrc
ramdisk=8192 real_root=/dev/sda4 udev splash=silent vga=0x31B video=vesafb:mtrr,ywrap
initrd /initramfs-genkernel-x86-2.6.12-gentoo-r9 |
Your splashimage line is wrong - Hint look at your root statement, which is corrent for your partition layout. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
onlybui n00b
Joined: 25 May 2005 Posts: 40
|
Posted: Thu Sep 08, 2005 4:43 pm Post subject: |
|
|
Thanks I see that the splashimage=(hd0,0)/grub/splash.xpm.gz
which should be set to splashimage=(hd0,1)/grub/splash.xpm.gz
this should fix it thanks again |
|
Back to top |
|
|
Gogeta n00b
Joined: 18 Dec 2004 Posts: 53
|
Posted: Sat Sep 10, 2005 12:29 pm Post subject: |
|
|
Hello everybody out there!!
I'm installing Gentoo 2005.1 from stage 1 and I have many problems with Grub.
When I try to install it says:
Code: |
nemesis / # grub-install /dev/hda
Probing devices to guess BIOS drives. This may take a long time.
/sbin/grub-install: line 348: 20664 Segmentation fault $grub_shell --batch $no_floppy --device-map=$device_map >$log_file <<EOF
quit
EOF
/sbin/grub-install: line 425: 21287 Segmentation fault $grub_shell --batch $no_floppy --device-map=$device_map >$log_file <<EOF
dump ${root_drive}${tmp} ${img_file}
quit
EOF
/sbin/grub-install: line 425: 21296 Segmentation fault $grub_shell --batch $no_floppy --device-map=$device_map >$log_file <<EOF
dump ${root_drive}${tmp} ${img_file}
quit
EOF
/sbin/grub-install: line 425: 21305 Segmentation fault $grub_shell --batch $no_floppy --device-map=$device_map >$log_file <<EOF
dump ${root_drive}${tmp} ${img_file}
quit
EOF
/sbin/grub-install: line 425: 21318 Segmentation fault $grub_shell --batch $no_floppy --device-map=$device_map >$log_file <<EOF
dump ${root_drive}${tmp} ${img_file}
quit
EOF
/sbin/grub-install: line 425: 21327 Segmentation fault $grub_shell --batch $no_floppy --device-map=$device_map >$log_file <<EOF
dump ${root_drive}${tmp} ${img_file}
quit
EOF
The file /boot/grub/stage1 not read correctly.
|
Then I emerge grub-static and seems to install grub correctly in /dev/hda1 but When I do reboot, it crashes and says:
Code: | Booting 'Gentoo Linux'
root (hd0,0)
Filesystem type is ext2fs, partition type 0x83
Kernel /kernel-2.6.12-gentoo-r10 root=dev/hda3
Error 15: File not found
Press key to continue |
Here's grub.conf: Code: | default 0
timeout 10
splashimage=(hd0,0)/grub/splash.xpm.gz
title=Gentoo Linux
root (hd0,0)
kernel /kernel-2.6.12-gentoo-r10 root=/dev/hda3
title Windows XP
root (hd1,0)
map (0x81) (0x80)
map (0x80) (0x81)
makeactive
chainloader +1
title Debian GNU/Linux
root (hd0,1)
kernel /boot/vmlinuz-2.4.27-2-686 root=/dev/hdb2 ro
initrd /boot/initrd.img-2.4.27-2-686
savedefault
boot
title Mandrake Linux
kernel (hd1,4)/boot/vmlinuz root=/dev/hdb5 acpi=ht resume=/dev/hda2 splash=silent vga=788
initrd (hd1,4)/boot/initrd.img
|
|
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54216 Location: 56N 3W
|
Posted: Sat Sep 10, 2005 12:43 pm Post subject: |
|
|
Gogeta,
Error 15 is File not found
Do you have a /boot/kernel-2.6.12-gentoo-r10 file (namexed exactly that)?
You appear to have several /boot folders too
Gentoo root (hd0,0)
Debian root (hd0,1)
Mandrake (nay not have a /boot
You will go insane trying to get that to work - you can only have one grub and it will find its stage2 in the same /boot all the time - thats where your kernels should be -all of them.
Maybe your Gentoo root statement should be root (hd0,1) ? _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
G3n0M n00b
Joined: 15 Aug 2005 Posts: 5 Location: Slovenia
|
Posted: Sun Sep 11, 2005 11:26 am Post subject: GRUB GRUB GRUB |
|
|
Hi there, i have another solution to the GRUB GRUB GRUB error, i got it at : http://icculus.org/~lucasw/Linux/Linux%20and%20XP%20Bootloading.html - here there is also a guide to making the Windoze bootloader boot grub.
It is somewhat specific, it applies only to people who are using the Windoze bootloader to boot grub. If you reinstall grub, you have to be careful that the file on the windows partition which you created with Code: | dd if=/dev/hd{xY} of=gentoo.bin bs=512 count=1 | may have to be re-created. In my case i first got only GRUB, but after formatting the partition and reinstalling grub it was GRUB GRUB GRUB. I compared the two files and they were different in just one part, but that was all that was needed.
BTW: i transferred the file to my Windoze NTFS partition using Total Commander, no spam intended.
Thanks to all the people who have been posting in this thread as i have solved quite a few problems thanks to your posts. |
|
Back to top |
|
|
yuris n00b
Joined: 11 Sep 2005 Posts: 1
|
Posted: Sun Sep 11, 2005 2:17 pm Post subject: Grub Configuration |
|
|
Hello, im very newbie to gentoo, and grub, i have installed the latest gentoo on my laptop. My laptop uses Sata controller.
after installed, he can't boot my system, because there is something wrong with my grub configuration.
I have 3 partitions
1) sda1 /linux swap
2) sda2 boot / Reiserfs
3) sda3 /Home XFS
here is my grub configuration
default 0
timeout 5
splashimage=(sd0,1)/boot/grub/splash.xpm.gz
title=Gentoo GNU/Linux 2.6.11-gentoo-r4
root (sd0,1)
kernel /boot/kernel-2.6.11-gentoo-r4 root=/dev/ram0 init=/linuxrc real_root=/dev/sda2 vga=0x317 splash=silent
initrd /boot/initrd-2.6.11-gentoo-r4
what is wrong here, and what can i do, to make my system to work
thanks |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54216 Location: 56N 3W
|
Posted: Sun Sep 11, 2005 3:05 pm Post subject: |
|
|
yuris,
grub calls alll drives (hd however they are connected. Your (sd0 entries need to be changed.
Your kernel line real_root=/dev/sda2 does not match your declared partition scheme either, that needs to be fixed
Grub is confusing for several reasons
1. It counts from 0, unlike the kernel that starts at a for drives and 1 for partitions.
2, It uses the term root, to refer to the partiton where its files are, which is not the same as the kernels root.
If you are new to linux reiserfs is a bad choice for /boot. ext2 is fine for a filesystem that is almost never mounted and very quick to reconstruct because its so small. xfs for root? Hmm. Of all the journalled filesystems, I prefer ext3, since all the ext2 recovery tools work. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
marco007 Tux's lil' helper
Joined: 03 Apr 2005 Posts: 99
|
Posted: Sun Sep 11, 2005 3:21 pm Post subject: |
|
|
grub.conf
default 0
timeout 30
splashimage=(hd0,0)/grub/splash.xpm.gz
title=Gentoo
root (hd0,0)
kernel /kernel-genkernel-x86-2.6.12-gentoo-r6 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/hda3 udev
initrd /initramfs-genkernel-x86-2.6.12-genroo-r6
partition layout:
hda1 boot
hda2 swap
hda3 / reiserfs
i get error 15 |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54216 Location: 56N 3W
|
Posted: Sun Sep 11, 2005 3:31 pm Post subject: |
|
|
marco007
Error 15 is file not found. Your boot partition is presumably /dev/hda1 ?
The files possibly not found are
Code: | kernel-genkernel-x86-2.6.12-gentoo-r6
initramfs-genkernel-x86-2.6.12-genroo-r6 | Do those files exist in boot or do you have a later kernel and not changed the filenames here?
The names in /boot and here must be *identical* - case is important. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
|