Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
remounting ext3 as ext2
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
zerogeny
Tux's lil' helper
Tux's lil' helper


Joined: 17 Apr 2002
Posts: 85

PostPosted: Thu May 02, 2002 7:49 am    Post subject: remounting ext3 as ext2 Reply with quote

i have changed the fstab file but still my hdd gets mounted as ext3...

what magical command do i need to do. 8O

ta

the reason why i asked is because i resized my ext3 with parted but linux hasnt recognised the change! it might be the kernel looking at an old partition table but i dont know. I NEED YOUR HELP or i will go craZzZZeeeEee :twisted:
_________________
Searched the web for zerogeny.
Results 1 - 1 of 1. Search took 0.05 seconds
Back to top
View user's profile Send private message
klieber
Bodhisattva
Bodhisattva


Joined: 17 Apr 2002
Posts: 3657
Location: San Francisco, CA

PostPosted: Thu May 02, 2002 11:48 am    Post subject: Re: remounting ext3 as ext2 Reply with quote

zerogeny wrote:
what magical command do i need to do.


There is no magical command -- you just change 'ext3' to 'ext2' in your /etc/fstab. If that isn't working, then either your /etc/fstab isn't correct or you've got something in grub forcing it to mount the partition as ext3.

zerogeny wrote:
the reason why i asked is because i resized my ext3 with parted but linux hasnt recognised the change


I doubt that simply changing to ext2 will solve the problem. As I recall, parted uses an older version of the ext2resize library that doesn't behave nicely with ext3. To resize an ext3 partition, you want to use stand-alone version of ext2resize. There doesn't appear to be a Gentoo package for this, but you can get the source from Sourceforge.

--kurt
_________________
The problem with political jokes is that they get elected
Back to top
View user's profile Send private message
Guest






PostPosted: Thu May 02, 2002 4:09 pm    Post subject: Reply with quote

i have tried editting fstab to no avail, i have written the partition numerous times.
i cant even find the journal so i can remove it (it warranted).

could it be devfs that forcing it to be ext3?
Back to top
klieber
Bodhisattva
Bodhisattva


Joined: 17 Apr 2002
Posts: 3657
Location: San Francisco, CA

PostPosted: Thu May 02, 2002 4:14 pm    Post subject: Reply with quote

Anonymous wrote:
could it be devfs that forcing it to be ext3?


No -- devfs deals in devices, it does not deal in file partition types. (But, feel free to poke around /etc/devfsd.conf if you like)

Could you post your /etc/fstab and your menu.lst file here for review?

--kurt
_________________
The problem with political jokes is that they get elected
Back to top
View user's profile Send private message
klieber
Bodhisattva
Bodhisattva


Joined: 17 Apr 2002
Posts: 3657
Location: San Francisco, CA

PostPosted: Thu May 02, 2002 4:33 pm    Post subject: Reply with quote

You can also try the following:

Code:
#tune2fs -O ^has_journal /dev/hdaX
#fsck.ext2 -f /dev/hdaX


But you must make sure the partition you're doing this on is unmounted.

Some more good information in the ext3 FAQ which I found by searching Google

--kurt
_________________
The problem with political jokes is that they get elected
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum