Re: partition cannot be mounted from grub
Huub wrote: Hi, Using Suse 10.1, I had a spontaneous reboot after which I got a fast running screen full of reiserfs messages. Another (inflicted) reboot and Grub gives error 17, meaning it cannot mount a recognized partition. Using the boot-dvd, I selected Rescue, and logged in as root but I have no idea how to proceed trying to save my system. Help is appreciated. Thanks, Huub Correction: errormessage means: This error is returned if the partition requested exists, but the filesystem type cannot be recognized by GRUB. I.e. GRUB doesn't recognize it's a ReiserFS partition...
Re: partition cannot be mounted from grub
Hello On Thursday 21 September 2006 09:57, Huub wrote: Hi, Using Suse 10.1, I had a spontaneous reboot after which I got a fast running screen full of reiserfs messages. Another (inflicted) reboot and Grub gives error 17, meaning it cannot mount a recognized partition. Using the boot-dvd, I selected Rescue, and logged in as root but I have no idea how to proceed trying to save my system. Help is appreciated. being booted off boot-dvd, please, run reiserfsck for partitions which were formatted as reiserfs and let us see reiserfsck' output. Thanks, Huub
Re: partition cannot be mounted from grub
being booted off boot-dvd, please, run reiserfsck for partitions which were formatted as reiserfs and let us see reiserfsck' output. fdisk /dev/hdc shows that I have: /dev/hdc1 Linux swap /dev/hdc2 * Linux /dev/hdc3 Linux As I stated in my own response, error 17 means it doesn't recognize a partition as being ReiserFS. Should I do reiserfsck /dev/hdc2 anyway?
Re: partition cannot be mounted from grub
On Thu, 21 Sep 2006 08:16:26 +0200, Huub wrote: Huub wrote: Hi, Using Suse 10.1, I had a spontaneous reboot after which I got a fast running screen full of reiserfs messages. Another (inflicted) reboot and Grub gives error 17, meaning it cannot mount a recognized partition. Using the boot-dvd, I selected Rescue, and logged in as root but I have no idea how to proceed trying to save my system. Help is appreciated. Thanks, Huub Correction: errormessage means: This error is returned if the partition requested exists, but the filesystem type cannot be recognized by GRUB. I.e. GRUB doesn't recognize it's a ReiserFS partition... Two suggestions. 1) I have found that grub files in r3 have to be copied using -o notail on the mount command. If you do not use notail, the files are not able to be read by grub. 2) do not try and create a grub boot while in the r3 partition. Make sure the partition is unmounted, then boot from a live cd and run grub from there. e.g. in your case, with /dev/hdc2 being your root root(hd2,1) # at this point grub should respond that filesystem is reiserfs setup(hd2) # at this point, grub should install the boot loader. # unless hdc is NOT your boot disk. If not, then use hd0 or 1. If not, try recopying /boot/grub by doing this from the live cd. mount /dev/hdc2 /mnt/wherever -o notail,rw,[noatime] cd /boot cp -rP grub grub2 rm -fr grub mv grub2 grub then umount it and try the grub commands above. I have had lots of woes with grub and reiser 3/4. This seems to work for me. -- Peter + Do not reply to this email, it is a spam trap and not monitored. I can be reached via this list, or via jabber: pete4abw at jabber.org ICQ: 73676357
Re: partition cannot be mounted from grub
Hello On Thursday 21 September 2006 14:19, Huub wrote: being booted off boot-dvd, please, run reiserfsck for partitions which were formatted as reiserfs and let us see reiserfsck' output. fdisk /dev/hdc shows that I have: /dev/hdc1 Linux swap /dev/hdc2 * Linux /dev/hdc3 Linux As I stated in my own response, error 17 means it doesn't recognize a partition as being ReiserFS. Should I do reiserfsck /dev/hdc2 anyway? yes that should give us a hint whether the problem is in reiserfs or in grub
Re: partition cannot be mounted from grub
yes that should give us a hint whether the problem is in reiserfs or in grub Looks like I can do a clean install. No filesystem or superblock found.
Re: partition cannot be mounted from grub
Hello On Thursday 21 September 2006 16:14, Huub wrote: yes that should give us a hint whether the problem is in reiserfs or in grub Looks like I can do a clean install. If there is no important data on the system - this is the easiest way. No filesystem or superblock found. I would guess that you got partition table corruption. You may want to try to fdisk /dev/hdc in the way it was partitioned before. However, boundaries of partitions are to known presizely for that, though. You may also try gpart(8). It does not look at partition table and may find partition boundaries.
Re: partition cannot be mounted from grub
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Peter wrote: Two suggestions. 1) I have found that grub files in r3 have to be copied using -o notail on the mount command. If you do not use notail, the files are not able to be read by grub. 2) do not try and create a grub boot while in the r3 partition. Make sure the partition is unmounted, then boot from a live cd and run grub from there. I'm curious what version of grub caused you to come to these conclusions. Grub has been using the REISERFS_IOC_UNPACK ioctl for ages. It's the same thing lilo uses and causes those files to only use indirect blocks (ie: no tails). If you've been running into this problem with any recent version of grub, it's a bug. - -Jeff - -- Jeff Mahoney SUSE Labs -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iD8DBQFFEptrLPWxlyuTD7IRAlsHAJ9GvQ/jJDKbWmCuAlmJxcwcl66gJwCgot5t qQBPRVmv5OWTwJ2VPX4facE= =x/4R -END PGP SIGNATURE-
Re: partition cannot be mounted from grub
On Thu, 21 Sep 2006 10:02:19 -0400, Jeff Mahoney wrote: snip... I'm curious what version of grub caused you to come to these conclusions. Grub has been using the REISERFS_IOC_UNPACK ioctl for ages. It's the same thing lilo uses and causes those files to only use indirect blocks (ie: no tails). If you've been running into this problem with any recent version of grub, it's a bug. - -Jeff 0.94/0.97 (not grub2). Just happened yesterday as a test. I also found it impossible to run grub in its /boot/grub mounted partition. I had to boot off another partition or a live cd and run grub from there. I did not find this trouble with r4 however. Just my experience however. -- Peter + Do not reply to this email, it is a spam trap and not monitored. I can be reached via this list, or via jabber: pete4abw at jabber.org ICQ: 73676357
Re: partition cannot be mounted from grub
I would guess that you got partition table corruption. You may want to try to fdisk /dev/hdc in the way it was partitioned before. However, boundaries of partitions are to known presizely for that, though. You may also try gpart(8). It does not look at partition table and may find partition boundaries. Reinstalled Suse 10.1 from scratch. Went very smooth. Running again...just curious for how long. Another question however: is ReiserFS capable of handling sudden reboots? I suspect my systemboard needs to be replaced since it reboot or freezes now and then, but so far I never had an fs being ruined beyond repair.