All of lore.kernel.org
 help / color / mirror / Atom feed
* partition cannot be mounted from grub
@ 2006-09-21  5:57 Huub
  2006-09-21  6:16 ` Huub
  2006-09-21  9:50 ` Vladimir V. Saveliev
  0 siblings, 2 replies; 11+ messages in thread
From: Huub @ 2006-09-21  5:57 UTC (permalink / raw)
  To: reiserfs-list

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


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: partition cannot be mounted from grub
  2006-09-21  5:57 partition cannot be mounted from grub Huub
@ 2006-09-21  6:16 ` Huub
  2006-09-21 11:10   ` Peter
  2006-09-21  9:50 ` Vladimir V. Saveliev
  1 sibling, 1 reply; 11+ messages in thread
From: Huub @ 2006-09-21  6:16 UTC (permalink / raw)
  To: reiserfs-list

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...


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: partition cannot be mounted from grub
  2006-09-21  5:57 partition cannot be mounted from grub Huub
  2006-09-21  6:16 ` Huub
@ 2006-09-21  9:50 ` Vladimir V. Saveliev
  2006-09-21 10:19   ` Huub
  1 sibling, 1 reply; 11+ messages in thread
From: Vladimir V. Saveliev @ 2006-09-21  9:50 UTC (permalink / raw)
  To: Huub; +Cc: reiserfs-list

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
> 
> 
> 

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: partition cannot be mounted from grub
  2006-09-21  9:50 ` Vladimir V. Saveliev
@ 2006-09-21 10:19   ` Huub
  2006-09-21 11:59     ` Vladimir V. Saveliev
  0 siblings, 1 reply; 11+ messages in thread
From: Huub @ 2006-09-21 10:19 UTC (permalink / raw)
  To: reiserfs-list

>>
> 
> 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?


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: partition cannot be mounted from grub
  2006-09-21  6:16 ` Huub
@ 2006-09-21 11:10   ` Peter
  2006-09-21 14:02     ` Jeff Mahoney
  0 siblings, 1 reply; 11+ messages in thread
From: Peter @ 2006-09-21 11:10 UTC (permalink / raw)
  To: reiserfs-list-nJ1KrdHEGnBBDgjK7y7TUQ

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


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: partition cannot be mounted from grub
  2006-09-21 10:19   ` Huub
@ 2006-09-21 11:59     ` Vladimir V. Saveliev
  2006-09-21 12:14       ` Huub
  0 siblings, 1 reply; 11+ messages in thread
From: Vladimir V. Saveliev @ 2006-09-21 11:59 UTC (permalink / raw)
  To: Huub; +Cc: reiserfs-list

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

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: partition cannot be mounted from grub
  2006-09-21 11:59     ` Vladimir V. Saveliev
@ 2006-09-21 12:14       ` Huub
  2006-09-21 12:43         ` Vladimir V. Saveliev
  0 siblings, 1 reply; 11+ messages in thread
From: Huub @ 2006-09-21 12:14 UTC (permalink / raw)
  To: reiserfs-list


> 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.


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: partition cannot be mounted from grub
  2006-09-21 12:14       ` Huub
@ 2006-09-21 12:43         ` Vladimir V. Saveliev
  2006-09-21 16:39           ` Huub
  0 siblings, 1 reply; 11+ messages in thread
From: Vladimir V. Saveliev @ 2006-09-21 12:43 UTC (permalink / raw)
  To: Huub; +Cc: reiserfs-list

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.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: partition cannot be mounted from grub
  2006-09-21 11:10   ` Peter
@ 2006-09-21 14:02     ` Jeff Mahoney
  2006-09-21 14:36       ` Peter
  0 siblings, 1 reply; 11+ messages in thread
From: Jeff Mahoney @ 2006-09-21 14:02 UTC (permalink / raw)
  To: Peter; +Cc: reiserfs-list

-----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-----

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: partition cannot be mounted from grub
  2006-09-21 14:02     ` Jeff Mahoney
@ 2006-09-21 14:36       ` Peter
  0 siblings, 0 replies; 11+ messages in thread
From: Peter @ 2006-09-21 14:36 UTC (permalink / raw)
  To: reiserfs-list-nJ1KrdHEGnBBDgjK7y7TUQ

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


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: partition cannot be mounted from grub
  2006-09-21 12:43         ` Vladimir V. Saveliev
@ 2006-09-21 16:39           ` Huub
  0 siblings, 0 replies; 11+ messages in thread
From: Huub @ 2006-09-21 16:39 UTC (permalink / raw)
  To: reiserfs-list

> 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.


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2006-09-21 16:39 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-21  5:57 partition cannot be mounted from grub Huub
2006-09-21  6:16 ` Huub
2006-09-21 11:10   ` Peter
2006-09-21 14:02     ` Jeff Mahoney
2006-09-21 14:36       ` Peter
2006-09-21  9:50 ` Vladimir V. Saveliev
2006-09-21 10:19   ` Huub
2006-09-21 11:59     ` Vladimir V. Saveliev
2006-09-21 12:14       ` Huub
2006-09-21 12:43         ` Vladimir V. Saveliev
2006-09-21 16:39           ` Huub

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.