View previous topic :: View next topic |
Author |
Message |
Hefelumpman n00b
Joined: 28 Jan 2004 Posts: 7
|
Posted: Wed Jan 28, 2004 10:02 pm Post subject: Error 17... |
|
|
everytime I try to boot, I keep getting
Filesystem type unknown, partition type 0x7
Error 17 - Cannot mount selected partition
my grub.conf is set up like this...
Quote: | title=Gentoo Linux 2.6.1
root (hd1,0)
kernel (hd1,0)/boot/2.6.1-gentoo root=/dev/hdb3
title=WindowsXP
root (hd0,0)
chainloader +1 |
I know that the drive assignments are right - I've tried using both ext3 and reiserFS
also, when the bootloader screen comes up, the text is all...wrong - you can make it out, but it's like it's fuzzy :S
*uber linux n00b* - started from stage 1, compiled own kernel
any ideas? |
|
Back to top |
|
|
pilla Bodhisattva
Joined: 07 Aug 2002 Posts: 7729 Location: Underworld
|
Posted: Wed Jan 28, 2004 10:19 pm Post subject: Re: Error 17... |
|
|
Hefelumpman wrote: | everytime I try to boot, I keep getting
Filesystem type unknown, partition type 0x7
Error 17 - Cannot mount selected partition
my grub.conf is set up like this...
Quote: | title=Gentoo Linux 2.6.1
root (hd1,0)
kernel (hd1,0)/boot/2.6.1-gentoo root=/dev/hdb3
title=WindowsXP
root (hd0,0)
chainloader +1 |
I know that the drive assignments are right - I've tried using both ext3 and reiserFS
also, when the bootloader screen comes up, the text is all...wrong - you can make it out, but it's like it's fuzzy :S
*uber linux n00b* - started from stage 1, compiled own kernel
any ideas? |
Partition type 0x7 is NTFS -- are you really sure that you are on the right partition and that you have ext3/reiserfs support on the kernel?
Try to use the command line from grub when booting to access your partition. _________________ "I'm just very selective about the reality I choose to accept." -- Calvin |
|
Back to top |
|
|
Hefelumpman n00b
Joined: 28 Jan 2004 Posts: 7
|
Posted: Wed Jan 28, 2004 10:25 pm Post subject: |
|
|
definitely on the right partition :\
the drive *used* to be ntfs when it was used by XP, but after running fdisk and deleting/adding new partitions + applying the ext3/reiserfs filesystems, it wouldn't be
I'll try command line in a mo |
|
Back to top |
|
|
Hefelumpman n00b
Joined: 28 Jan 2004 Posts: 7
|
Posted: Wed Jan 28, 2004 10:48 pm Post subject: |
|
|
Hefelumpman wrote: | definitely on the right partition :\
the drive *used* to be ntfs when it was used by XP, but after running fdisk and deleting/adding new partitions + applying the ext3/reiserfs filesystems, it wouldn't be
I'll try command line in a mo |
I got to the grub command line and typed
kernel /boot/2.1.6-gentoo
boot
and it worked fine...what's going on? workarounds are all well and good, but I'd like a working bootloader - lol |
|
Back to top |
|
|
idoneus Apprentice
Joined: 26 Mar 2003 Posts: 243 Location: Graz, Austria
|
Posted: Wed Jan 28, 2004 11:11 pm Post subject: |
|
|
Earthwings: until now I only mentioned that bug where appropriate, but now I put it up front, since it seems lots of people are having problems with it.
dkaplowitz: It's always great to hear that.
Hefelumpman: you did not mention any root?
only kernel... and boot? _________________ Join the adopt an unanswered post initiative today |
|
Back to top |
|
|
Hefelumpman n00b
Joined: 28 Jan 2004 Posts: 7
|
Posted: Wed Jan 28, 2004 11:46 pm Post subject: |
|
|
only kernel and boot.
|
|
Back to top |
|
|
pilla Bodhisattva
Joined: 07 Aug 2002 Posts: 7729 Location: Underworld
|
Posted: Thu Jan 29, 2004 12:51 am Post subject: |
|
|
Hefelumpman wrote: | definitely on the right partition :\
the drive *used* to be ntfs when it was used by XP, but after running fdisk and deleting/adding new partitions + applying the ext3/reiserfs filesystems, it wouldn't be
I'll try command line in a mo |
Change the partition type to Linux (0x83). Use fdisk or cfdisk or parted to dos so. _________________ "I'm just very selective about the reality I choose to accept." -- Calvin |
|
Back to top |
|
|
pilla Bodhisattva
Joined: 07 Aug 2002 Posts: 7729 Location: Underworld
|
Posted: Thu Jan 29, 2004 12:54 am Post subject: |
|
|
Hefelumpman wrote: | only kernel and boot.
|
Then, just try to take root=... off from grub.conf _________________ "I'm just very selective about the reality I choose to accept." -- Calvin |
|
Back to top |
|
|
pilla Bodhisattva
Joined: 07 Aug 2002 Posts: 7729 Location: Underworld
|
Posted: Thu Jan 29, 2004 12:56 am Post subject: |
|
|
pilla wrote: | Hefelumpman wrote: | definitely on the right partition :\
the drive *used* to be ntfs when it was used by XP, but after running fdisk and deleting/adding new partitions + applying the ext3/reiserfs filesystems, it wouldn't be
I'll try command line in a mo |
Change the partition type to Linux (0x83). Use fdisk or cfdisk or parted to dos so. |
Just remembered something about "ghost" windows partitions that keep showing up after being squashed and formated as linux... try to search the forums for it. _________________ "I'm just very selective about the reality I choose to accept." -- Calvin |
|
Back to top |
|
|
Ardan n00b
Joined: 06 Aug 2003 Posts: 59 Location: /dev/null
|
Posted: Thu Jan 29, 2004 6:51 pm Post subject: |
|
|
Okay well i've solved problems i'm having (exactly the same as everone else) on my own but I am stumped about the splash image. I've used grub on gentoo systems millions of times so I know it is going to the right location but its just the ugly non-graphical look that shows that something that *should* load is not. I heard something about certain lines being commented out in the latest ebuild of grub...is there something I can do about that or this? I'd just like to get that splash image back and I can't sit and putz on the machine anymore. People are already upset at me that I wasted my time (busy day today) reading all three pages worth of postings only to still have a quesiton.
Anyone? |
|
Back to top |
|
|
Earthwings Bodhisattva
Joined: 14 Apr 2003 Posts: 7753 Location: Germany
|
Posted: Thu Jan 29, 2004 10:21 pm Post subject: |
|
|
As long as there is no new ebuild in portage, you can remerge the old version.
Code: |
echo "=sys-boot/grub-0.93.20031222" >> /etc/portage/package.mask
emerge grub -p
|
|
|
Back to top |
|
|
Mister Bill n00b
Joined: 24 Jan 2004 Posts: 35 Location: Huntsville, Alabama
|
Posted: Sat Jan 31, 2004 3:12 am Post subject: |
|
|
Code: |
VFS: Cannot open root device "hda7" or 03:07
Please append a correct "root=" boot option
Kernel Panic: VFS: Unable to mount root fs on 03:07
|
I'm getting this error, and I've confirmed that everything is as it's supposed to be in both the kernel config and grub.conf. I installed support for my ATA chipset and for ReiserFS (and left ext2 enabled), but I get that error.
I haven't done the enable MSDOS file system (or whatever it was involved DOS), but I'm not running any non-linux partitions on my hard drive? Do I still have to do that? _________________ ~WÆ |
|
Back to top |
|
|
idoneus Apprentice
Joined: 26 Mar 2003 Posts: 243 Location: Graz, Austria
|
Posted: Sat Jan 31, 2004 11:11 am Post subject: |
|
|
Mister Bill: Could you post your grub.conf as well as your partition layout? Just to make sure everything is alright.
As for the dos stuff. AFAIK this is not necessary. _________________ Join the adopt an unanswered post initiative today |
|
Back to top |
|
|
Earthwings Bodhisattva
Joined: 14 Apr 2003 Posts: 7753 Location: Germany
|
Posted: Sat Jan 31, 2004 11:26 am Post subject: |
|
|
Yes, it is needed.
Code: |
PC BIOS (MSDOS partition tables) support (MSDOS_PARTITION)
Say Y here if you would like to use hard disks under Linux which
were partitioned on an x86 PC (not necessarily by DOS).
|
|
|
Back to top |
|
|
Mister Bill n00b
Joined: 24 Jan 2004 Posts: 35 Location: Huntsville, Alabama
|
Posted: Sat Jan 31, 2004 8:37 pm Post subject: |
|
|
default 0
timeout 30
splashimage=(hd0,0)/grub/splash.xpm.gz
title=Gentoo Linux 2.6.1
root (hd0,0)
kernel (hd0,0)/kernel-2.6.1 root=/dev/hde3 vga=778
partition layout.
/dev/hde1 /boot ext2
/dev/hde2 swap
/dev/hde3 / reiserfs _________________ ~WÆ |
|
Back to top |
|
|
idoneus Apprentice
Joined: 26 Mar 2003 Posts: 243 Location: Graz, Austria
|
|
Back to top |
|
|
Mister Bill n00b
Joined: 24 Jan 2004 Posts: 35 Location: Huntsville, Alabama
|
Posted: Sun Feb 01, 2004 12:41 am Post subject: |
|
|
I recompiled with the DOS stuff activated, and same error comes up. I'm sure I've installed support for ext2 and reiserfs as well.
I'm gonna go back to /etc/fstab and make sure nothing's wrong there, but I'm pretty sure I got that right too. _________________ ~WÆ |
|
Back to top |
|
|
Mister Bill n00b
Joined: 24 Jan 2004 Posts: 35 Location: Huntsville, Alabama
|
Posted: Sun Feb 01, 2004 12:55 am Post subject: |
|
|
ok, this might be irrelevant, but here goes.
Does the number of tabs between each column in fstab really matter? Should I make sure to align them under the columns in the comment line above like I'm doing currently, or should it just be "/dev/hde1[TAB]/boot[TAB]ext2[TAB]noauto,noatime[TAB]1 2"?
Also, my current /etc/fstab reads as follows (leaving out commented lines)
Code: |
/dev/hde1 /boot ext2 noauto,noatime 1 2
/dev/hde2 /none swap sw 0 0
/dev/hde3 / reiserfs noatime 0 1
/dev/cdroms/cdrom0 /mnt/cdrom auto noauto,user 0 0
/dev/cdroms/cdrom1 /mnt/cdrom1 auto noauto,user 0 0
none /proc /bus/usb usbfs defaults 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
|
_________________ ~WÆ |
|
Back to top |
|
|
ozbird Apprentice
Joined: 21 Oct 2003 Posts: 185
|
Posted: Sun Feb 01, 2004 2:54 am Post subject: Re: grub configuration |
|
|
Mister Bill wrote: | default 0
timeout 30
splashimage=(hd0,0)/grub/splash.xpm.gz
title=Gentoo Linux 2.6.1
root (hd0,0)
kernel (hd0,0)/kernel-2.6.1 root=/dev/hde3 vga=778
|
Did you use genkernel 3.x beta to build the kernel? If so, they made some radical changes to the boot process - it caught me out.
If you emerge the new genkernel package, it will tell you the changes required; for example, my grub.conf looks like this:
Code: | default=0
timeout=10
splashimage=(hd0,1)/grub/splash.xpm.gz
#
#
title Gentoo Linux (2.6.1-gentoo-r1)
root (hd0,1)
kernel /kernel-2.6.1-gentoo-r1 root=/dev/ram0 init=/linuxrc real_root=/dev/hde6 hdc=ide-scsi vga=0x31b splash=verbose
initrd /initrd-2.6.1-gentoo-r1
#
#
title Windows XP
rootnoverify (hd0,0)
chainloader +1
|
|
|
Back to top |
|
|
Mister Bill n00b
Joined: 24 Jan 2004 Posts: 35 Location: Huntsville, Alabama
|
Posted: Sun Feb 01, 2004 6:14 am Post subject: |
|
|
No, I was following the manual compile steps. _________________ ~WÆ |
|
Back to top |
|
|
Pergamon Tux's lil' helper
Joined: 01 Feb 2004 Posts: 117
|
Posted: Sun Feb 01, 2004 2:24 pm Post subject: Current Grub 0.93.20031222 fails on new installations+update |
|
|
During installation of a new machine while installing Grub
fails because "emerge grub" did somehow not install the state1* files to /boot/grub.
Updating an existing machine leads to booting into Grub console.
Both can be fixed by masking this version of grub:
Code: |
cd /usr/portage/profiles
nano -w package.mask
(search for grub and add the following line:)
=sys-boot/grub-0.93.20031222
(save and exit and)
emerge grub
|
This downgrades Grub and did fix both boxes for me. |
|
Back to top |
|
|
BAMacek n00b
Joined: 27 Jan 2004 Posts: 15 Location: Waco, TX (for school, not because its a fun place to live)
|
Posted: Sun Feb 01, 2004 3:12 pm Post subject: grub - error 15 - but configs look ok |
|
|
I know that others have posted on the same topic, and im pretty sure ive read through every one of them, but ive been getting Error 15: File not found. So, for the sake of brevity, and because i dont feel like starting from scratch for the 12th time, I will be as specific as possible and provide ALL of the information I can think to provide. I apologise if this takes up too much room, but I have absolutely no idea what to try next.
THE ERROR
-------------
After completing the install procedure, upon reboot I get the following error:
Code: | root (hd0,0)
Filesystem type is ext2fs, partition type 0x83
kernel (hd0,0)/boot/bzImage root=/dev/hda3
Error 15: File not found |
I'm not sure how relavent this is, but the parenthesis "(" around (hd0,0) on line 1 and 3 are messed up - the correct character is not displayed. Instead, a pixelated block character encapsulates "hd0,0".
MY SETUP
-----------
I'm trying to install Gentoo 1.4 r6 from stage 3 of the LiveCD
Here's my /etc/fstab
Code: | /dev/hda1 /boot ext2 noauto,noatime 1 1
/dev/hda3 / reiserfs noatime 0 0
/dev/hda2 none swap sw 0 0
/dev/hdc /mnt/cdrom iso9660 noauto,ro,user 0 0
/dev/fd0 /mnt/floppy auto noauto,user 0 0
...
none /proc proc defaults 0 0
...
none /dev/shm tmpfs defaults 0 0 |
Here's what's in my kernel:
Code: | Code maturity level options --->
--------------------------------
[*] Prompt for development and/or incomplete code/drivers"
Loadable module support --->
----------------------------
[*] Enable loadable module support
[*] Set version...
[*] Kernel module loader
Processor type and features --->
--------------------------------
[*] Machine Check Exception
General setup --->
------------------
[*] Networking support
[*] PCI support
(Any) PCI access mode
[*] ISA bus support
[*] PCI device name database
[*] System V IPC
[*] Sysctl support
(ELF) Kernel core
<*> Kernel Support ~ a.out
<*> Kernel Support ~ ELF
<*> Kernel Support ~ MISC
Memory Technology Devices (MTD) --->
------------------------------------
Plug and Play configuration --->
--------------------------------
<*> Plug and Play support
<*> ISA Plug and Play support
Block devices --->
------------------
<*> Normal floppy disk support
<*> RAM disk support
Enterprise Volume Management System --->
----------------------------------------
Multi-device support (RAID and LVM) --->
----------------------------------------
Cryptography support (CryptoAPT) --->
-------------------------------------
Networking options --->
-----------------------
<*> Packet socket
<*> Network device emulation
<*> Unix domain sockets
[*} TCP/IP networking
<M> IP Security Protocol
--- IPSec options (FreeW/WAN)
[*] IPSEC: IP-in-IP encapsulation
[*] IPSEC: Authentication Header
[*] HMAC-MD5 authentication algorithm
[*] HMAC-SHA1 authentication algorithm
[*] IPSEC: Encapsulation Security Payload
[*] 3DES encryption algorithm
[*] IPSEC Modular Extensions
<M> AES encryption algorithm
<M> TWOFISH encryption algorithm
<M> SERPENT encryption algorithm
[*] IPSEC: IP Compression
[*] IPSEC Debugging Option
[*] IPSEC NAT-Traversal
Telephony support --->
----------------------------
ATA/IDE/MFM/RLL support --->
----------------------------
<*> ATA/IDE/MFM/RLL support
IDE, ATA and ATAPI Block devices --->
-------------------------------------
<*> Enhanced IDE/MFL/RLL disk/cdrom/tape/floppy support
<*> Include IDE/ATA-2 DISK support
[*] Use mulit-mode by default
<*> Include IDE/ATAPI CDROM support
--- IDE Chipset bugfix/support
[*] CMD640 chipset bugfix/support
[*] RZ1000 chipset bugfix/support
[*] Generic PCI IDE chipset support
[*] Sharing PCI IDE interrupts support
[*] Generic PCI bus-master DMA support
[*] Use PCI DMA by default when available
SCSI support --->
-----------------
Fusion MPT device support --->
------------------------------
IEEE 1394 (Firewire) support (EXPERMINTAL) --->
-----------------------------------------------
I20 device support --->
-----------------------
Network device support --->
---------------------------
[*] Network device support
<M> Dummy net driver support
Ethernet (10 or 100Mbit) --->
-----------------------------
[*] Ethernet (10 or 100Mbit)
[*] EISA, VLB, PCI and on board controllers
<*> RealTek RTL-8139 PCI Fast Ethernet Adapter support
Amateur Radio support --->
--------------------------
IrDA (infrared) support --->
----------------------------
ISDN subsystem --->
-------------------
Old CD-ROM drivers (not SCSI, not IDE) --->
-------------------------------------------
Input core Support --->
-----------------------
<*> Input core support
<*> Keyboard support
<*> Mouse support
(1024) Horizontal screen resolution (NEW)
(768) Vertical screen resolution (NEW)
Character devices --->
----------------------
[*] Virtual terminal
[*] Support for console on virtual terminal
Mice --->
---------
<*> Mouse Support (not serial and bus mice)
<*> PS/2 mouse (aka "auxiliary divice") support
Multimedia devices --->
-----------------------
File systems --->
-----------------
<*> Reiserfs support
[*] Virtual memory file system support (former shm fs)
<*> ISO 9660 CDROM file system support
[*] /proc file system support
[*] /dev file system support (EXPERIMENTAL)
[*] Automatically mount at boot
<*> Second extended fs support
Network File System --->
------------------------
<*> NFS file system support
<*> NFS server support
Console drivers --->
--------------------
[*] VGA text console
Sound --->
----------
USB support --->
----------------
Bluetooth support --->
----------------------
Kernel hacking --->
-------------------
Library routines --->
---------------------
Grsecurity --->
--------------- |
Here's my /boot/grub/grub.conf
Code: | default 0
timeout 30
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
title=Gentoo Linux 1.4 r6
root (hd0,0)
kernel (hd0,0)/boot/bzImage root=/dev/hda3 gentoo=notmpfs |
COURSE OF ACTION:
-------------------------
The first couple of times i got this message, I thought that maybe I forgot to run "# cp /usr/src/linux/arch/i386/boot/bzImage /boot" after compiling the kernel. So I booted off the CD and ran this series of commands: Code: | # swapon /dev/hda2
# mount /dev/hda3 /mnt/gentoo
# mount /dev/hda1 /mnt/gentoo/boot
# mount -t proc proc /mnt/gentoo/proc
# chroot /mnt/gentoo /bin/bash
# cd /usr/src/linux
just to ensure the integrity of the bzImage
# make menuconfig && make clean bzImage modules modules_install
# cp /usr/src/linux/arch/i386/boot/bzImage /boot
# exit
# umount /mnt/gentoo/proc
# umount /mnt/gentoo/boot
# umount /mnt/gentoo
# reboot |
But upon reboot, I get the same message (error 15)
So then I booted off of the grub boot disk: Code: |
grub > root (hd0,0)
grub > setup (hd0)
grub > kernel (hd0,0)/boot/bzImage
Error 15: File not found |
I would then boot from the CD again, mount the necessary drives, chroot into /mnt/gentoo and check the contents of /boot: Code: | #ls /boot
bzImage grub lost+found |
- give me a break, this makes no sense
MY CONCLUSION:
---------------------
As I am approaching my 23 hour at the helm, I am going to bed. I hope I have provided all necessary info. If I'm missing something, please let me know ASAP - I'll have it up almost immediately.
Last edited by BAMacek on Sun Feb 01, 2004 5:35 pm; edited 2 times in total |
|
Back to top |
|
|
idoneus Apprentice
Joined: 26 Mar 2003 Posts: 243 Location: Graz, Austria
|
Posted: Sun Feb 01, 2004 3:45 pm Post subject: |
|
|
BAMacek: not sure if I'm stating the obvious. Your listing of /boot does not show any boot symlink. Thus kernel (hd0,0)/boot/bzImage can't be found.
Let me elaborate a little bit. On (AFAIK most) Gentoo systems there exists a boot -> ./ symbolic link on the /boot partition. Thus it does not mather if you are using a seperate boot partition, or not. You can always specify /boot/... however since your symbolic link is missing, grub can't find your boot directory.
I hope this solves your problem. _________________ Join the adopt an unanswered post initiative today |
|
Back to top |
|
|
BAMacek n00b
Joined: 27 Jan 2004 Posts: 15 Location: Waco, TX (for school, not because its a fun place to live)
|
Posted: Sun Feb 01, 2004 7:43 pm Post subject: I do not understand |
|
|
I tried looking around on the net and on this forum and cant figure out what you're talking about - ENTER THE SUPER NOOB.
Quote: | BAMacek: not sure if I'm stating the obvious. Your listing of /boot does not show any boot symlink. Thus kernel (hd0,0)/boot/bzImage can't be found.
Let me elaborate a little bit. On (AFAIK most) Gentoo systems there exists a boot -> ./ symbolic link on the /boot partition. Thus it does not mather if you are using a seperate boot partition, or not. You can always specify /boot/... however since your symbolic link is missing, grub can't find your boot directory.
I hope this solves your problem. |
Please, explain to me which command I need to run to fix this problem and give an example. The whole symbolic link thing is pretty new to me. |
|
Back to top |
|
|
Earthwings Bodhisattva
Joined: 14 Apr 2003 Posts: 7753 Location: Germany
|
Posted: Sun Feb 01, 2004 7:47 pm Post subject: Re: Current Grub 0.93.20031222 fails on new installations+up |
|
|
Pergamon wrote: | Updating an existing machine leads to booting into Grub console.
Both can be fixed by masking this version of grub:
Code: |
cd /usr/portage/profiles
nano -w package.mask
(search for grub and add the following line:)
=sys-boot/grub-0.93.20031222
(save and exit and)
emerge grub
|
This downgrades Grub and did fix both boxes for me. |
This works, but has an ugly side effect if you do an 'emerge sync' and update world. 'emerge sync' overrides package.mask in /usr/portage/profiles, so your changes get lost and the buggy version of grub gets installed again (if you don't pay attention).
a better way to do individual masking is /etc/portage/package.mask
Code: |
echo "=sys-boot/grub-0.93.20031222" >> /etc/portage/package.mask
|
|
|
Back to top |
|
|
|