LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices

Reply
 
Search this Thread
Old 10-30-2006, 10:57 AM   #1
uncle-c
Member
 
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 ?

Thanks
Uncle

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
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,535

Rep: Reputation: 148Reputation: 148
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
Code:
mount -r -o remount
 
Old 10-30-2006, 04:06 PM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,142

Rep: Reputation: 987Reputation: 987Reputation: 987Reputation: 987Reputation: 987Reputation: 987Reputation: 987Reputation: 987
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.
 
  


Reply

Tags
fsck


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 06:52 AM.

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