View previous topic :: View next topic |
Author |
Message |
jmbsvicetto Moderator
Joined: 27 Apr 2005 Posts: 4734 Location: Angra do Heroísmo (PT)
|
Posted: Fri Jul 15, 2005 1:32 pm Post subject: |
|
|
Ok.
Yes, you should use in your windows entry in /boot/grub/grub.conf
Code: | map (hd0) (hd1)
map (hd1) (hd0) |
Does XP boot? If not, do you get any error? _________________ Jorge.
Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh
|
|
Back to top |
|
|
romalong Guru
Joined: 08 Jun 2005 Posts: 488 Location: Kiev
|
Posted: Fri Jul 15, 2005 1:41 pm Post subject: |
|
|
jmbsvicetto wrote: | Ok.
Yes, you should use in your windows entry in /boot/grub/grub.conf
Code: | map (hd0) (hd1)
map (hd1) (hd0) |
Does XP boot? If not, do you get any error? |
i've got Windows2000.
and i can't boot either OS |
|
Back to top |
|
|
romalong Guru
Joined: 08 Jun 2005 Posts: 488 Location: Kiev
|
Posted: Fri Jul 15, 2005 1:44 pm Post subject: |
|
|
jmbsvicetto wrote: | do you get any error? |
i just have such text on my screen:
Code: |
Booting 'W2K'
rootnoverify=(hd1,0)
chainloader +1
|
|
|
Back to top |
|
|
jmbsvicetto Moderator
Joined: 27 Apr 2005 Posts: 4734 Location: Angra do Heroísmo (PT)
|
Posted: Fri Jul 15, 2005 2:05 pm Post subject: |
|
|
romalong wrote: | Code: |
rootnoverify=(hd1,0)
chainloader +1
|
|
Have you tried using the following?
Code: | rootnoverify (hd1,0) |
_________________ 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: Fri Jul 15, 2005 2:06 pm Post subject: |
|
|
romalong wrote: |
i've got Windows2000.
and i can't boot either OS |
What errors do you get when booting Linux? _________________ Jorge.
Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh
|
|
Back to top |
|
|
romalong Guru
Joined: 08 Jun 2005 Posts: 488 Location: Kiev
|
Posted: Fri Jul 15, 2005 2:22 pm Post subject: |
|
|
jmbsvicetto wrote: | romalong wrote: |
i've got Windows2000.
and i can't boot either OS |
What errors do you get when booting Linux? |
GREAT! i started windows after i added 'map' directives into my grub.conf - one problem is eliminated!!!
Linux boot error:
Code: |
Booting Linux...
root(hd0,0)
Filesystem type isext2fs, partition type 0x83
kernel /kernel-2.6.11-gentoo-r3 root=/dev/ram0
init=/linuxrc
ramdisk=8192 real_root=/dev/sda3 udev
error 15: File not found
|
|
|
Back to top |
|
|
jmbsvicetto Moderator
Joined: 27 Apr 2005 Posts: 4734 Location: Angra do Heroísmo (PT)
|
Posted: Fri Jul 15, 2005 2:57 pm Post subject: |
|
|
Check that your kernel name is kernel-2.6.11-gentoo-r3. Boot with the live-cd and mount the partitions then do
Code: | # ls -l /mnt/gentoo/boot |
_________________ Jorge.
Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh
|
|
Back to top |
|
|
romalong Guru
Joined: 08 Jun 2005 Posts: 488 Location: Kiev
|
Posted: Fri Jul 15, 2005 3:13 pm Post subject: |
|
|
jmbsvicetto wrote: | Check that your kernel name is kernel-2.6.11-gentoo-r3. |
are you talking about kernel name in fstab?
jmbsvicetto wrote: |
Boot with the live-cd and mount the partitions then do
Code: | # ls -l /mnt/gentoo/boot |
|
do you want me to post the content of /mnt/gentoo/boot? |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54254 Location: 56N 3W
|
Posted: Fri Jul 15, 2005 3:18 pm Post subject: |
|
|
romalong,
Your kerenl line is supposed to be just that - one very long line, not
Code: | kernel /kernel-2.6.11-gentoo-r3 root=/dev/ram0
init=/linuxrc
ramdisk=8192 real_root=/dev/sda3 udev |
_________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Deadmouse n00b
Joined: 08 Jul 2005 Posts: 18
|
Posted: Fri Jul 15, 2005 3:46 pm Post subject: |
|
|
Code: |
#grub-install /dev/hda --no-floppy
The File /boot/grub/stage1 not read correctly
|
Any Ideas ? |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54254 Location: 56N 3W
|
Posted: Fri Jul 15, 2005 3:57 pm Post subject: |
|
|
Deadmouse,
Check that /boot is mounted and that /boot/grub/stage1 exists.
If so, try again. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
romalong Guru
Joined: 08 Jun 2005 Posts: 488 Location: Kiev
|
Posted: Fri Jul 15, 2005 4:12 pm Post subject: |
|
|
jmbsvicetto wrote: | Check that your kernel name is kernel-2.6.11-gentoo-r3. Boot with the live-cd and mount the partitions then do
Code: | # ls -l /mnt/gentoo/boot |
|
i have: No such file or directory massage caused by # ls -l /mnt/gentoo/boot, while i can do # ls -l /boot.
ps i've chrooted to my environment from livecd too...
Last edited by romalong on Fri Jul 15, 2005 4:15 pm; edited 1 time in total |
|
Back to top |
|
|
romalong Guru
Joined: 08 Jun 2005 Posts: 488 Location: Kiev
|
Posted: Fri Jul 15, 2005 4:14 pm Post subject: |
|
|
NeddySeagoon wrote: | romalong,
Your kerenl line is supposed to be just that - one very long line, not
Code: | kernel /kernel-2.6.11-gentoo-r3 root=/dev/ram0
init=/linuxrc
ramdisk=8192 real_root=/dev/sda3 udev |
|
in reality, i got all these directives on one line, but it doesn't boot...
Last edited by romalong on Mon Jul 18, 2005 10:19 am; edited 1 time in total |
|
Back to top |
|
|
Deadmouse n00b
Joined: 08 Jul 2005 Posts: 18
|
Posted: Fri Jul 15, 2005 4:28 pm Post subject: |
|
|
Quote: | Deadmouse,
Check that /boot is mounted and that /boot/grub/stage1 exists.
If so, try again. |
/boot is mounted (it is no seperate partition) and stage1 exists. I also tried reemerging GRUB but i still can't install GRUB, the same aerror accoured |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54254 Location: 56N 3W
|
Posted: Fri Jul 15, 2005 4:59 pm Post subject: |
|
|
Deadmouse,
Install grub manually with
Code: | grub
root (hdX,Y)
setup (hdZ)
quit | You put the right numbers in for X, Y andZ.
hdX is the drive where your /boot is
,Y is the /boot partition (or in your case your / (root) partition)
hdZ describes the MBR to install grub on.
All entries are in grubspeak. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
madmango Guru
Joined: 15 Jul 2003 Posts: 507 Location: PA, USA
|
Posted: Fri Jul 15, 2005 5:19 pm Post subject: |
|
|
I'm getting the same problem with GRUB, it can't seem to find /boot/grub/stage1.
I've mounted and chrooted and I know it's there: I already remerged grub.
Code: | grub> root (hd0,0)
Filesystem type is ext2fs, partition type 0x83
grub> setup (hd0)
Checking if "/boot/grub/stage1" exists... no
Checking if "/grub/stage1" exists... no
Error 15: File not found
grub> quit
livecd boot # find grub/stage1
grub/stage1
livecd boot # | [/code] _________________ word. |
|
Back to top |
|
|
jmbsvicetto Moderator
Joined: 27 Apr 2005 Posts: 4734 Location: Angra do Heroísmo (PT)
|
Posted: Fri Jul 15, 2005 5:26 pm Post subject: |
|
|
romalong wrote: | jmbsvicetto wrote: | Check that your kernel name is kernel-2.6.11-gentoo-r3. Boot with the live-cd and mount the partitions then do
Code: | # ls -l /mnt/gentoo/boot |
|
i have: No such file or directory massage caused by # ls -l /mnt/gentoo/boot, while i can do # ls -l /boot.
ps i've chrooted to my environment from livecd too... |
In that case do
I was talking about the kernel name in your /boot/grub/grub.conf file. _________________ Jorge.
Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh
|
|
Back to top |
|
|
romalong Guru
Joined: 08 Jun 2005 Posts: 488 Location: Kiev
|
Posted: Sat Jul 16, 2005 1:04 pm Post subject: |
|
|
jmbsvicetto wrote: | romalong wrote: | jmbsvicetto wrote: | Check that your kernel name is kernel-2.6.11-gentoo-r3. Boot with the live-cd and mount the partitions then do
Code: | # ls -l /mnt/gentoo/boot |
|
i have: No such file or directory massage caused by # ls -l /mnt/gentoo/boot, while i can do # ls -l /boot.
ps i've chrooted to my environment from livecd too... |
In that case do
I was talking about the kernel name in your /boot/grub/grub.conf file. |
they're identical... |
|
Back to top |
|
|
jwever n00b
Joined: 12 Sep 2003 Posts: 72
|
Posted: Sat Jul 16, 2005 3:23 pm Post subject: |
|
|
Just installed grub and on reboot I get blank screen with the word GRUB _ (flashing cursor). I can hit ctrl+alt+del but nothing else works. No command prompt or shell. boot is on /dev/hda1 and root is on /dev.hda3. Lilo works just fine. Any suggestions on getting Grub to work?
fdisk /dev/hda
Code: |
Disk /dev/hda: 79.9 GB, 79916820992 bytes
255 heads, 63 sectors/track, 9716 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 6 48163+ 83 Linux
/dev/hda2 7 129 987997+ 82 Linux swap / Solaris
/dev/hda3 130 4993 39062500+ 83 Linux
/dev/hda4 4993 9717 37945077+ 83 Linux
|
grub.conf
Code: |
timeout 30
default 0
fallback 1
splashimage=(hd0,0)/grub/splash.xpm.gz
title Gentoo Linux
root (hd0,0)
kernel /kernel-2.6.12-gentoo-r5 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/hda3 udev
initrd /initrd-2.6.12-gentoo-r5
|
contents of /boot/grub/
Code: |
-rw-r--r-- 1 root root 64 Jul 16 10:14 device.map
-rw-r--r-- 1 root root 8052 Jul 16 10:14 e2fs_stage1_5
-rw-r--r-- 1 root root 7812 Jul 16 10:14 fat_stage1_5
-rw-r--r-- 1 root root 7060 Jul 16 10:14 ffs_stage1_5
-rw-r--r-- 1 root root 295 Jul 16 09:50 grub.conf
-rw-r--r-- 1 root root 1624 Jul 16 10:14 grub.conf.sample
-rw-r--r-- 1 root root 7124 Jul 16 10:14 iso9660_stage1_5
-rw-r--r-- 1 root root 8576 Jul 16 10:14 jfs_stage1_5
lrwxrwxrwx 1 root root 9 Jul 16 09:42 menu.lst -> grub.conf
-rw-r--r-- 1 root root 7284 Jul 16 10:14 minix_stage1_5
-rw-r--r-- 1 root root 9556 Jul 16 10:14 reiserfs_stage1_5
-rw-r--r-- 1 root root 33856 Jul 16 10:14 splash.xpm.gz
-rw-r--r-- 1 root root 512 Jul 16 10:14 stage1
-rw-r--r-- 1 root root 105544 Jul 16 10:14 stage2
-rw-r--r-- 1 root root 105544 Jul 16 09:42 stage2.old
-rw-r--r-- 1 root root 105544 Jul 16 10:14 stage2_eltorito
-rw-r--r-- 1 root root 7368 Jul 16 10:14 ufs2_stage1_5
-rw-r--r-- 1 root root 6708 Jul 16 10:14 vstafs_stage1_5
-rw-r--r-- 1 root root 9404 Jul 16 10:14 xfs_stage1_5
|
|
|
Back to top |
|
|
jmbsvicetto Moderator
Joined: 27 Apr 2005 Posts: 4734 Location: Angra do Heroísmo (PT)
|
Posted: Sat Jul 16, 2005 6:10 pm Post subject: |
|
|
jwever,
have you looked at the first page of this thread? I believe the problem you're facing is addressed there. _________________ 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: Sat Jul 16, 2005 6:14 pm Post subject: |
|
|
romalong wrote: | Code: | Booting Linux...
root(hd0,0)
Filesystem type isext2fs, partition type 0x83
kernel /kernel-2.6.11-gentoo-r3 root=/dev/ram0
init=/linuxrc
ramdisk=8192 real_root=/dev/sda3 udev
error 15: File not found |
|
I'm sorry for not spoting this earlier, but you have to replace your root line with
You must add the space in between. _________________ Jorge.
Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh
|
|
Back to top |
|
|
zero17 n00b
Joined: 23 Sep 2004 Posts: 23
|
Posted: Sun Jul 17, 2005 4:17 am Post subject: Please Help!!!!!! GRUB ERROR 15: File not found at boot up |
|
|
I just got done installed gentoo, and this is the last step (sort of)..
when I reboot the my computer.. at boot up I've gotten this error message:
Code: |
Booting 'Gentoo Linux 2.6.12-gentoo-r4'
kernel (hd0,0)/kernel-2.6.12-gentoo-r4 root=/dev/hda3
Error 15: File not found
press any ke to continue...
|
where I have got wrong.. is it on the grub.conf
here is my grub.conf
Code: |
default 0
timeout 30
splashimage=(hd0,0)/grub/splash.xpm.gz
title=Gentoo Linux 2.6.12.r4
kernel (hd0,0)/kernel-2.6.12-gentoo-r4 root=/dev/hda3
|
should I include the "initramfs" on my grub.conf, if somebody could tell me a really decent grub.conf configuration and post it, I'll really appreciate that.
btw, I use genkernel, and start my installation from stage 3.
thanks |
|
Back to top |
|
|
zero17 n00b
Joined: 23 Sep 2004 Posts: 23
|
Posted: Sun Jul 17, 2005 4:49 am Post subject: |
|
|
SOLVED...
but is it necesarry to have initramfs on grub.conf? |
|
Back to top |
|
|
Chaostime n00b
Joined: 04 Feb 2003 Posts: 30
|
Posted: Sun Jul 17, 2005 2:40 pm Post subject: |
|
|
Hi, i'm getting a weird error
Code: | root (hd3,0)
Filesystem type unknown, partition type 0x7
kernel /kernel-2.6.12-gentoo-r4 root=/dev/hdd3
Error 17: Cannot mount selected partition
Press any key to continue..._ |
Everything i've read is by people getting this error when trying to boot a windows partition. but my XP partition boots fine. i get this error when i'm trying to boot my linux kernel.
Can someone help me please?
Fixed, turns out that my device's written in caps lock so it was erroring
Last edited by Chaostime on Sun Jul 17, 2005 5:42 pm; edited 1 time in total |
|
Back to top |
|
|
jwever n00b
Joined: 12 Sep 2003 Posts: 72
|
Posted: Sun Jul 17, 2005 2:55 pm Post subject: |
|
|
jmbsvicetto,
I might be missing it, but the only thing I see on the first page that is similar to my problem is the problem of grub booting to the grub command prompt. I'm not getting a prompt, just GRUB with a flashing cursor. I can't type anything nor can I hit <enter> to continue booting. If I'm missing it, please help me out by pointing me in the right direction.
Thanks. |
|
Back to top |
|
|
|