Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-30-2006, 10:57 AM   #1
Registered: Oct 2006
Location: The Ether
Distribution: Fedora 14, Ubuntu , Slax 5.1.8, OpenSolaris, Centos 4.8
Posts: 296

Rep: Reputation: 30
Running fsck from hdb (Ubuntu) on hda (RH) ?

Hi there. I've 2 HDs installed on my system. Here is a quick synopsis :

hda : Redhat 9 + Win98SE

hdb : Ubuntu 6.06

My question is what would be the best way to run fsck on hda1 (RH) ?
Can I boot to the Ubuntu disk and run fsck -t ext3 /dev/hda1 ( hda1 being unmounted) ? Does running the Ubuntu fsck binary cause any problems ?
Obviously booting into the RH system in single user mode I cannot unmount /dev/hda1 to run fsck. Or is there a way of booting to RH and running fsck ?


ps: good wishes to all I met on the LinuxExpo world stall on Thurs @London Olympia. Backtrack works fine !
Old 10-30-2006, 03:22 PM   #2
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,545

Rep: Reputation: 160Reputation: 160
Running fsck from a live cd (like Ubuntu that you have) is a very good idea. fsck in RH and Ubuntu is basically the same, one can read/modify partitions created by the other one. No problem here.

You can use the RH fsck if you remount /dev/hda1 as read-only. The command is like
mount -r -o remount
Old 10-30-2006, 04:06 PM   #3
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 13,479

Rep: Reputation: 1346Reputation: 1346Reputation: 1346Reputation: 1346Reputation: 1346Reputation: 1346Reputation: 1346Reputation: 1346Reputation: 1346Reputation: 1346
Can be done from the Ubuntu install - in your setup, doesn't need to be the liveCD if you can get the RH partition unmounted.
In general, liveCD is the best way to go.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Contact hdb from hda shandih Linux - Software 9 10-18-2006 03:56 AM
hda hdb hdc aydindemirci Linux - Newbie 7 02-16-2006 01:55 AM
hda or hdb mislabeling =dn Linux - Hardware 4 01-16-2006 08:26 AM
Can I swap hda and hdb? snatale1 Linux - Hardware 1 03-10-2004 01:23 AM
cfdisk hdb instead of hda deceasedcomrade Slackware 1 11-20-2003 09:22 PM

All times are GMT -5. The time now is 04:56 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration