Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
(SOLVED) chroot into software raid0 system?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
re_re
Tux's lil' helper
Tux's lil' helper


Joined: 05 Mar 2005
Posts: 129
Location: Milwaukee, Wisconsin

PostPosted: Mon Oct 30, 2006 7:31 pm    Post subject: (SOLVED) chroot into software raid0 system? Reply with quote

does anybody know if there is a way to chroot into a software raid0 gentoo system?

I had a power failure and there was some filesystem corruption on my xfs raid0 partition (/) and i have been unable to chroot into the system without destroying the volume.

any help would be very much appreciated
_________________
MSI 865PE Neo2 FISR, p4 2.6c, nv 5600

MSI K8N FSR, athlon64 2800+ @2016mhz, nv 6800xt

Compaq Deskpro Pentium3 500mhz

Macbook Pro 1.83ghz 1.5 gig pc5300


Last edited by re_re on Tue Oct 31, 2006 9:17 pm; edited 1 time in total
Back to top
View user's profile Send private message
Dlareh
Advocate
Advocate


Joined: 06 Aug 2005
Posts: 2102

PostPosted: Mon Oct 30, 2006 7:34 pm    Post subject: Reply with quote

It goes something like:
Code:
modprobe md
mdadm --assemble /dev/md0
mount /dev/md0 /mnt/gentoo
...

_________________
"Mr Thomas Edison has been up on the two previous nights discovering 'a bug' in his phonograph." --Pall Mall Gazette (1889)
Are we THERE yet?
Back to top
View user's profile Send private message
re_re
Tux's lil' helper
Tux's lil' helper


Joined: 05 Mar 2005
Posts: 129
Location: Milwaukee, Wisconsin

PostPosted: Tue Oct 31, 2006 1:58 am    Post subject: Reply with quote

well, this whole problem doesn't matter at this point because i had a power outage and sufferend severe filesystem damage and am reinstalling as we speak.
_________________
MSI 865PE Neo2 FISR, p4 2.6c, nv 5600

MSI K8N FSR, athlon64 2800+ @2016mhz, nv 6800xt

Compaq Deskpro Pentium3 500mhz

Macbook Pro 1.83ghz 1.5 gig pc5300
Back to top
View user's profile Send private message
re_re
Tux's lil' helper
Tux's lil' helper


Joined: 05 Mar 2005
Posts: 129
Location: Milwaukee, Wisconsin

PostPosted: Tue Oct 31, 2006 9:16 pm    Post subject: Reply with quote

it was actually something more along the lines of

modprobe raid0

mknod /dev/md4 b 9 4

mdadm --create /dev/md4 --level=0 --raid-devices=2 /dev/hda6 /dev/hdc6

(for others with this problem they will need to add the appropriate volume names)

I thought the last comand would bork my system but it didn't........ i went out on a limb and just tried it, all is well now......
_________________
MSI 865PE Neo2 FISR, p4 2.6c, nv 5600

MSI K8N FSR, athlon64 2800+ @2016mhz, nv 6800xt

Compaq Deskpro Pentium3 500mhz

Macbook Pro 1.83ghz 1.5 gig pc5300
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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