View previous topic :: View next topic |
Author |
Message |
Uranus Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 07 May 2002 Posts: 438 Location: Portugal, Braga
|
Posted: Sun May 11, 2003 10:14 am Post subject: reiserfs made my system un-bootable |
|
|
Hi there... I have my root partition reiserfs, and, up until now, I would get a message when booting saying it could not find my /dev/hda3 so it could not use fsck.reiserfs on it
but today, I was booting up, and it just says the same error and wants the root password for maintenance or ctrl+d to reboot... I guess I did the ~30 mounts and it was time for a forced fsck
anyway... I tried doing fsck.reiserfs manually but /dev/hda3 doesn't even exist! I have /dev/hda1 /dev/hda2 /dev/hda6 /dev/hda7 ... no /dev/hda3... but if I type "mount" it tells me my / partition is mounted with reiserfs from /dev/hda3
wtf? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
neuron Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/d946e5263cf3dddd25d4e.gif)
Joined: 28 May 2002 Posts: 2371
|
Posted: Sun May 11, 2003 12:05 pm Post subject: |
|
|
fdisk /dev/hda
p
q
should list the partitions, it could be it shows /dev/hda3 as mounted becouse you'v got a buggy fstab file or something I guess, and that your actual root is /dev/hda7 or something.
it could also be your partition table is screwed up. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
pilla Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/9555681074926d9b92f09a.jpg)
Joined: 07 Aug 2002 Posts: 7731 Location: Underworld
|
Posted: Sun May 11, 2003 2:21 pm Post subject: |
|
|
Maybe hda3 is the extended partition where you have the logical disks inside
Then, it is correct that you cannot mount it. _________________ "I'm just very selective about the reality I choose to accept." -- Calvin |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
mb4guns Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/2972081733f89a2cd8b57b.gif)
Joined: 04 Dec 2002 Posts: 300 Location: Netherlands
|
Posted: Sun May 11, 2003 3:36 pm Post subject: |
|
|
big change this is the case, since a primary bootable gets hda1 ... _________________ sys0: Athlon64, Corsair TWINX DDR400 (1024mb), GeForce FX5600 256mb, 2x SATA MAxtor 120gig, Plextor 708a, Zalman cooling, Zalman powered, gnomed
sys1: Dell inspiron 4100 PentiumIII-mobile@1000 512mb ATI Radeon mobility m6 30gig, gnomed |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Uranus Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 07 May 2002 Posts: 438 Location: Portugal, Braga
|
Posted: Sun May 11, 2003 4:15 pm Post subject: |
|
|
I have 3 partitions, boot, root and swap, /dev/hda1, /dev/hda3, /dev/hda2 respectively... They are all primary partitions (as cfdisk reports)
I tried running fsck.reiserfs with all my /dev/hdaX and it doesn't accept them |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
neuron Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/d946e5263cf3dddd25d4e.gif)
Joined: 28 May 2002 Posts: 2371
|
Posted: Sun May 11, 2003 4:43 pm Post subject: |
|
|
did you do what I asked? I'm gonna have to go with Bloody Bastard here and guess you have logical partitions.
reiserfs could cause errors, but it would be on the filesystem, a partition table problem... I dunno, doubt that a lot. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
pilla Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/9555681074926d9b92f09a.jpg)
Joined: 07 Aug 2002 Posts: 7731 Location: Underworld
|
Posted: Sun May 11, 2003 5:29 pm Post subject: |
|
|
could you post the outputs of fdisk and fstab in natura for us? _________________ "I'm just very selective about the reality I choose to accept." -- Calvin |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Uranus Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 07 May 2002 Posts: 438 Location: Portugal, Braga
|
Posted: Tue May 13, 2003 7:54 pm Post subject: |
|
|
hi, sorry I took so long to reply... had school, plus tutoring, plus my birthday was yesterday (got a wireless microsoft mouse+keyboard... very sweet )... anyway:
fdisk
fstab
in natura!
u guys could give me a late b-day present and make my gentoo work again ![Smile :)](images/smiles/icon_smile.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
neuron Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/d946e5263cf3dddd25d4e.gif)
Joined: 28 May 2002 Posts: 2371
|
Posted: Tue May 13, 2003 7:59 pm Post subject: |
|
|
try to boot from cd and run reiserfsck
and happy birthday ![Smile :)](images/smiles/icon_smile.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Jimboberella Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/10914696823e351969c7970.gif)
Joined: 19 Jun 2002 Posts: 358 Location: Brisbane/Australia
|
Posted: Tue May 13, 2003 9:36 pm Post subject: |
|
|
I am thinking that you have ext2/3 and not reiser partitions. Try running just fsck. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Uranus Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 07 May 2002 Posts: 438 Location: Portugal, Braga
|
Posted: Tue May 13, 2003 11:16 pm Post subject: |
|
|
k, I booted up from the cd and I was able to do a fsck.reiserfs and it found errors on what it seemed to be every file, then I rebooted and the same thing happens... I have no /dev/hda3 symlink so it's pointless to do a fsck of any type.... what I don't understand is why it mounts the partition read-only, but then the /dev/hda3 symlink is not there at all |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Uranus Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 07 May 2002 Posts: 438 Location: Portugal, Braga
|
Posted: Thu May 15, 2003 12:04 pm Post subject: |
|
|
*bump*
k, so I booted with the 1.2 gentoo cd and the /dev/hda3 symlink WAS there and I was able to do an fsck.reiserfs on it... but... when I rebooted, gentoo still wanted to do an fsck because it reached the point where there have been too many mounts without checking the file-system. Which leads me to believe that the problem could be my kernel... I have the latest gaming-sources (r3). Tonight I'll try emerging gentoo-sources and I'll try with that
does that make any sense? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
pilla Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/9555681074926d9b92f09a.jpg)
Joined: 07 Aug 2002 Posts: 7731 Location: Underworld
|
Posted: Thu May 15, 2003 12:21 pm Post subject: |
|
|
Try vanilla sources instead
Uranus wrote: | *bump*
k, so I booted with the 1.2 gentoo cd and the /dev/hda3 symlink WAS there and I was able to do an fsck.reiserfs on it... but... when I rebooted, gentoo still wanted to do an fsck because it reached the point where there have been too many mounts without checking the file-system. Which leads me to believe that the problem could be my kernel... I have the latest gaming-sources (r3). Tonight I'll try emerging gentoo-sources and I'll try with that
does that make any sense? |
_________________ "I'm just very selective about the reality I choose to accept." -- Calvin |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Yoshi Assim Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/1179477916472fa8ba46446.png)
Joined: 16 Apr 2003 Posts: 234 Location: Girona (Spain)
|
Posted: Thu May 15, 2003 10:22 pm Post subject: |
|
|
Uranus wrote: | k, I booted up from the cd and I was able to do a fsck.reiserfs and it found errors on what it seemed to be every file, then I rebooted and the same thing happens... I have no /dev/hda3 symlink so it's pointless to do a fsck of any type.... what I don't understand is why it mounts the partition read-only, but then the /dev/hda3 symlink is not there at all |
Hello!
I read all the messages above, but is possible that you make some changes in /etc/devfsd.conf that modifies hd's symlinks???
I had a little difference in my fsstab in the swap line:
Code: |
/dev/hda6 swap swap defaults 0 0
|
probably isn't important but... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Uranus Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 07 May 2002 Posts: 438 Location: Portugal, Braga
|
Posted: Thu May 15, 2003 10:56 pm Post subject: |
|
|
btw... it's the same with the vanilla-sources... see this
hmmm... devfsd.conf? could be... can you give me the relevant lines so I can check for differences? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Uranus Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 07 May 2002 Posts: 438 Location: Portugal, Braga
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Uranus Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 07 May 2002 Posts: 438 Location: Portugal, Braga
|
Posted: Fri May 16, 2003 10:54 pm Post subject: |
|
|
guys, is it possible (and viable) to change my reiserfs partition into an ext3 one without losing any data?
or, is there a way for me to disable the thing that makes gentoo wanna fsck.reiserfs my hard-drive every X mounts?
I just wanna hold on long enough till 1.4 gets here... I could download rc3 but I have a monthly download limit, and I've been wanting to do a fresh install mainly to use more aggressive CFLAGS but I wanna wait till 1.4 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Yoshi Assim Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/1179477916472fa8ba46446.png)
Joined: 16 Apr 2003 Posts: 234 Location: Girona (Spain)
|
Posted: Fri May 30, 2003 6:29 am Post subject: |
|
|
Uranus wrote: | guys, is it possible (and viable) to change my reiserfs partition into an ext3 one without losing any data? |
I think that's impossible!. But you can take another HD (from a friend ) and make a backup
Uranus wrote: | or, is there a way for me to disable the thing that makes gentoo wanna fsck.reiserfs my hard-drive every X mounts? |
I don't know this...I supose Yes. But check reiser filesystem is very fast! (This is one of reasons I use Reiser)
Uranus wrote: | I just wanna hold on long enough till 1.4 gets here... I could download rc3 but I have a monthly download limit, and I've been wanting to do a fresh install mainly to use more aggressive CFLAGS but I wanna wait till 1.4 |
I you think that all is OK and you have a good configuration you don't need to wait until 1.4. After 1.4 released you can type in your console make system and later make world |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|