Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
operating system not found (grub&fstab lists inside)[sol
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
bosele
Tux's lil' helper
Tux's lil' helper


Joined: 02 Apr 2005
Posts: 90

PostPosted: Sun Apr 03, 2005 3:50 pm    Post subject: operating system not found (grub&fstab lists inside)[sol Reply with quote

diligently followed handbook 2005.0

first boot frustratingly leads to operating system not found

where did i go wrong?

fstab

/dev/hda5 /boot ext2 noatime 1 2
/dev/hda 7 / ext2 noatime 01
/dev/hda 6 none swap
/dev/hda 2 /locald vfat umask=000

grub.conf

default 0
timeout 5
splashimage=(hd0,4)/grub/splash.xpm.gz

title=Gentoo Linux 2.6.11-r3
root (hd0,4)
kernel /kernel-2.6.11-gentoo-r3 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/hda7
initrd /initrd-2.6.11-gentoo-r3

title-Windows XP
root (hd0,0)
makeactive
chainloader +1




total 862
drwxr-xr-x 2 root root 1024 Apr 3 10:04 .
drwxr-xr-x 4 root root 1024 Apr 3 09:58 ..
-rw-r--r-- 1 root root 11264 Apr 3 09:58 e2fs_stage1_5
-rw-r--r-- 1 root root 10256 Apr 3 09:58 fat_stage1_5
-rw-r--r-- 1 root root 9248 Apr 3 09:58 ffs_stage1_5
-rw-r--r-- 1 root root 286 Apr 3 10:05 grub.conf
-rw-r--r-- 1 root root 1495 Apr 3 09:58 grub.conf.sample
-rw-r--r-- 1 root root 11488 Apr 3 09:58 jfs_stage1_5
lrwxrwxrwx 1 root root 9 Apr 3 09:58 menu.lst -> grub.conf
-rw-r--r-- 1 root root 9632 Apr 3 09:58 minix_stage1_5
-rwxr-xr-x 1 root root 201540 Apr 3 09:58 nbgrub
-rwxr-xr-x 1 root root 202564 Apr 3 09:58 pxegrub
-rw-r--r-- 1 root root 12896 Apr 3 09:58 reiserfs_stage1_5
-rw-r--r-- 1 root root 33856 Apr 3 09:58 splash.xpm.gz
-rw-r--r-- 1 root root 512 Apr 3 09:58 stage1
-rw-r--r-- 1 root root 137004 Apr 3 09:58 stage2
-rwxr-xr-x 1 root root 201636 Apr 3 09:58 stage2.netboot
-rw-r--r-- 1 root root 8896 Apr 3 09:58 vstafs_stage1_5
-rw-r--r-- 1 root root 12840 Apr 3 09:58 xfs_stage1_5



Here is my a ls -la of my boot directory
Code:

total 4052
drwxr-xr-x 4 root root 1024 Apr 3 09:58 .
drwxr-xr-x 20 root root 4096 Apr 3 10:09 ..
-rw-r--r-- 1 root root 0 Mar 12 02:57 .keep
-rw-r--r-- 1 root root 789889 Apr 3 08:31 System.map-2.6.11-gentoo-r3
lrwxrwxrwx 1 root root 1 Apr 3 06:55 boot -> .
drwxr-xr-x 2 root root 1024 Apr 3 10:04 grub
-rw-r--r-- 1 root root 1705309 Apr 3 08:39 initrd-2.6.11-gentoo-r3
-rw-r--r-- 1 root root 1613485 Apr 3 08:31 kernel-2.6.11-gentoo-r3
drwx------ 2 root root 12288 Apr 3 06:31 lost+found

grub

root (hd0,4)
setup (hd0,4)
quit

--
partition hda5 is active

--
help me please


Last edited by bosele on Sun Apr 03, 2005 6:08 pm; edited 1 time in total
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54300
Location: 56N 3W

PostPosted: Sun Apr 03, 2005 4:05 pm    Post subject: Reply with quote

bosele,

That looks like an error from the BIOS because you have not flagged at least one partition as bootable.
Boot the liveCD and run fdisk, and mark a partiton as bootable.

I also note that Grub is not installed on the MBR, was that deliberate ?
How do you load grub?
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
bosele
Tux's lil' helper
Tux's lil' helper


Joined: 02 Apr 2005
Posts: 90

PostPosted: Sun Apr 03, 2005 5:13 pm    Post subject: Reply with quote

fdisk
/dev/hda
--

device boot
/dev/hda1 -fat32 (windows)
/dev/hda2 -fat32 (share
/dev/hda3 -extended
/dev/hda5 * -linux
/dev/hda6 -linux swap
/dev/hda7 -linux

hda5 is bootable, isn't it?

and i don't load grub at all, when i reboot i just get operating system not found
and grub not in mbr is deleberate, i thought specifying (hd,4) as a grub install point would just take care of booting.

i've done this before with debian, although it uses a gui for configuring (part of) the bootloader, so i can't be sure i did everything right in gentoo.

so, where do i go from here?
Back to top
View user's profile Send private message
bosele
Tux's lil' helper
Tux's lil' helper


Joined: 02 Apr 2005
Posts: 90

PostPosted: Sun Apr 03, 2005 5:47 pm    Post subject: Reply with quote

ah, read somewhere this just wont work. problem is with extended partitions, i would have to have an active primairy partition to get bios to boot like this, so i think it's attempt 3 for me now.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54300
Location: 56N 3W

PostPosted: Sun Apr 03, 2005 5:56 pm    Post subject: Reply with quote

bosele,

Your GRUB install is incorrect - its not on the MBR.

Code:
grub
root (hd0,4)
setup (hd0,4)
quit
should be
Code:
grub
root (hd0,4)
setup (hd0)
quit

Grub can boot from logical partitions
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
bosele
Tux's lil' helper
Tux's lil' helper


Joined: 02 Apr 2005
Posts: 90

PostPosted: Sun Apr 03, 2005 6:10 pm    Post subject: Reply with quote

thanks, what i wanted was just impossible. hadn't checked what logical drives do (or don't do) for you.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum