Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Installing Gentoo
  • Search

grub, kernel problem

Having problems with the Gentoo Handbook? If you're still working your way through it, or just need some info before you start your install, this is the place. All other questions go elsewhere.
Post Reply
Advanced search
8 posts • Page 1 of 1
Author
Message
Slynix
n00b
n00b
User avatar
Posts: 67
Joined: Sun May 11, 2003 5:44 am
Contact:
Contact Slynix
Website

grub, kernel problem

  • Quote

Post by Slynix » Fri Jan 14, 2005 4:41 pm

When i boot up my fresh gentoo install. It first is black for a while then the screen becomes noisy with text saying.
Booting 'Gentoo Linux'

root hd1,0
Filesystem type unknown, partition type 0x7
kernel /bzImage root=/dev/hdb6

Error 17: Cannot mount selected partition

Press any key to continue...
my grub.conf:

Code: Select all

default 0
timeout 15
splashimage=(hd1,0)/grub/splash.xpm.gz

title=Gentoo Linux
root (hd1,0)
kernel /bzImage root=/dev/hdb6
Last edited by Slynix on Fri Jan 14, 2005 6:25 pm, edited 1 time in total.
a big bear hug
Top
gmanigault
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 115
Joined: Mon Jan 10, 2005 2:24 am
Location: Indiana, USA
Contact:
Contact gmanigault
Website

Re: grub, kernel problem

  • Quote

Post by gmanigault » Fri Jan 14, 2005 4:47 pm

First I believe that you should be using

root (hd0,0)

You can just type root ( and then hit tab I believe and it will show you your options. Read the info at the top when you are in grub.

Post your fdisk -l information and your fstab file.



Slynix wrote:When i boot up my fresh gentoo install. It first is black for a while then the screen becomes noisy with text saying.
Booting 'Gentoo Linux'

root hd1,0
Filesystem type unknown, partition type 0x7
kernel /bzImage root=/dev/hdb6

Error 17: Cannot mount selected partition

Press any key to continue...
my grub.conf:

Code: Select all

default 0
timeout 16
splashimage=(hd1,0)/grub/splash.xpm.gz

title=Gentoo Linux
root (hd1,0)
kernel /bzImage root=/dev/hdb6
/\/\/\/\ GreatWhiteShark /\/\/\
Top
Sith_Happens
Veteran
Veteran
User avatar
Posts: 1807
Joined: Wed Dec 15, 2004 2:08 am
Location: The University of Maryland at College Park
Contact:
Contact Sith_Happens
Website

  • Quote

Post by Sith_Happens » Fri Jan 14, 2005 4:52 pm

This is a problem with GRUB, is your boot partition on your first or second hard drive, because with GRUB the first partition on the first hard drive is (hd0,0). Your boot partition could very well be (hd1,0) if it is on the first partion of your second hard drive or in /dev terms, /dev/hdb1. But I'm guessing that you probably have that part right, because your root is /dev/hdb6, so it would make sense if your boot partition was also on your second drive. Also, when you formatted your drives, did you toggle the bootable flag on your boot partition? With fdisk, you do it by typing a at the fdisk command prompt, then, when prompted, the number of your boot partition. Otherwise GRUB can't read the partition.
"That question was less stupid; though you asked it in a profoundly stupid way."
I'm the brains behind Jackass! | Tutorials: Shorewall
Top
Slynix
n00b
n00b
User avatar
Posts: 67
Joined: Sun May 11, 2003 5:44 am
Contact:
Contact Slynix
Website

  • Quote

Post by Slynix » Fri Jan 14, 2005 5:00 pm

thx for response :)

I have 2 hds. /dev/hdb1 as my boot partition. It is bootable.
So hd 1,0 should be right for that shouldnt it?
a big bear hug
Top
Slynix
n00b
n00b
User avatar
Posts: 67
Joined: Sun May 11, 2003 5:44 am
Contact:
Contact Slynix
Website

  • Quote

Post by Slynix » Fri Jan 14, 2005 5:03 pm

hdb1 boot primary linux ext2 200MB
hdb5 logical linux swap 2048MB
hdb6 logical linux ext3 39999 MB
a big bear hug
Top
Slynix
n00b
n00b
User avatar
Posts: 67
Joined: Sun May 11, 2003 5:44 am
Contact:
Contact Slynix
Website

  • Quote

Post by Slynix » Fri Jan 14, 2005 6:17 pm

livecd root # fdisk -l

Disk /dev/hda: 122.9 GB, 122942324736 bytes
255 heads, 63 sectors/track, 14946 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 1275 10241406 7 HPFS/NTFS
/dev/hda2 1276 14946 109812307+ c W95 FAT32 (LBA)

Disk /dev/hdb: 123.5 GB, 123522416640 bytes
255 heads, 63 sectors/track, 15017 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 * 1 24 192748+ 83 Linux
/dev/hdb2 25 5136 41062140 5 Extended
/dev/hdb5 25 273 2000061 82 Linux swap
/dev/hdb6 274 5136 39062016 83 Linux



fstab:

# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/hdb1 /boot ext2 noauto,noatime 1 2
/dev/hdb6 / ext3 noatime 0 1
/dev/hdb5 none swap sw 0 0
/dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,ro 0 0
#/dev/fd0 /mnt/floppy auto noauto 0 0

# NOTE: The next line is critical for boot!
none /proc proc defaults 0 0
a big bear hug
Top
Slynix
n00b
n00b
User avatar
Posts: 67
Joined: Sun May 11, 2003 5:44 am
Contact:
Contact Slynix
Website

  • Quote

Post by Slynix » Fri Jan 14, 2005 7:01 pm

K got bored so i formated some space for boot partition on the first drive and that works
a big bear hug
Top
Sith_Happens
Veteran
Veteran
User avatar
Posts: 1807
Joined: Wed Dec 15, 2004 2:08 am
Location: The University of Maryland at College Park
Contact:
Contact Sith_Happens
Website

  • Quote

Post by Sith_Happens » Fri Jan 14, 2005 7:12 pm

Huh, whats funny is that grub itself is loaded on /dev/hdb1, so why it couldn't read it, I have no idea, unless it is loaded on the first hard drive. It has been a while since I used a second hard drive to boot from, but I think that there might be some jumpers perhaps on the drive, distinguishing it as a master or slave drive? That might prevent a BIOS from booting from the drive. But the fact that the bootloader comes up and gives you the error, tells me that is not the case. Anyway I'm just throwing things out there, see if it helps you with future installs.
"That question was less stupid; though you asked it in a profoundly stupid way."
I'm the brains behind Jackass! | Tutorials: Shorewall
Top
Post Reply

8 posts • Page 1 of 1

Return to “Installing Gentoo”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic