Os not coming up after i set mount -o remount,rw /dev/hda8 | Unix Linux Forums | Red Hat

  Go Back    


Red Hat Red Hat is the world's leading open source technology solutions provider with offerings including Red Hat Enterprise Linux (RHEL), Fedora, open source applications, security and systems management, virtualization, and Services Oriented Architecture (SOA) solutions.

Os not coming up after i set mount -o remount,rw /dev/hda8

Red Hat


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 02-08-2013
rehantayyab82 rehantayyab82 is offline
Registered User
 
Join Date: Oct 2012
Last Activity: 28 March 2014, 3:32 AM EDT
Location: Multan
Posts: 42
Thanks: 1
Thanked 0 Times in 0 Posts
Os not coming up after i set mount -o remount,rw /dev/hda8

on RHEL 5.3 i did

mount -o remount,rw /dev/hda8 ( this is /tmp directory )

now OS not coming up.

How to resolve ??

---------- Post updated at 04:57 PM ---------- Previous update was at 03:36 PM ----------

one of my friend told me that you have changed sticky bit permissions on /tmp

boot linux in single user mode and then run

chmod 1777 /tmp


will it solve the problem ?

---------- Post updated at 05:24 PM ---------- Previous update was at 04:57 PM ----------

exact error im getting while rebooting is

/tmp :UNEXPECTED INCONSISTENCY: RUN fsck MANUALLY(i.e. , without a or p options)
Sponsored Links
    #2  
Old 02-08-2013
RudiC RudiC is offline Forum Advisor  
Registered User
 
Join Date: Jul 2012
Last Activity: 23 July 2014, 6:17 PM EDT
Location: Aachen, Germany
Posts: 3,870
Thanks: 62
Thanked 918 Times in 871 Posts
So: RUN fsck MANUALLY(i.e. , without –a or –p options) (supposedly in single user mode)
Sponsored Links
    #3  
Old 02-08-2013
rehantayyab82 rehantayyab82 is offline
Registered User
 
Join Date: Oct 2012
Last Activity: 28 March 2014, 3:32 AM EDT
Location: Multan
Posts: 42
Thanks: 1
Thanked 0 Times in 0 Posts
after giving root password

i execute

fsck /tmp

or

fsck /dev/hda8
    #4  
Old 02-08-2013
RudiC RudiC is offline Forum Advisor  
Registered User
 
Join Date: Jul 2012
Last Activity: 23 July 2014, 6:17 PM EDT
Location: Aachen, Germany
Posts: 3,870
Thanks: 62
Thanked 918 Times in 871 Posts
fsck /dev/hda8
Sponsored Links
    #5  
Old 02-08-2013
rehantayyab82 rehantayyab82 is offline
Registered User
 
Join Date: Oct 2012
Last Activity: 28 March 2014, 3:32 AM EDT
Location: Multan
Posts: 42
Thanks: 1
Thanked 0 Times in 0 Posts
what to reply in

salvage<y> ??
Sponsored Links
    #6  
Old 02-08-2013
RudiC RudiC is offline Forum Advisor  
Registered User
 
Join Date: Jul 2012
Last Activity: 23 July 2014, 6:17 PM EDT
Location: Aachen, Germany
Posts: 3,870
Thanks: 62
Thanked 918 Times in 871 Posts
Have you read and understood fsck's upfront output?
Not knowing what it output before, and taking into account that this is your /tmp file system, i.e. a data loss were not disastrous, I'd reply: "yes" - at your own risk!
Sponsored Links
    #7  
Old 02-08-2013
rehantayyab82 rehantayyab82 is offline
Registered User
 
Join Date: Oct 2012
Last Activity: 28 March 2014, 3:32 AM EDT
Location: Multan
Posts: 42
Thanks: 1
Thanked 0 Times in 0 Posts
i executed

fsck -y /dev/hda8

and it resolved my problem.
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Meaning of mount /dev/dsk/c... /mnt rahmantanko UNIX for Dummies Questions & Answers 3 06-16-2011 03:19 PM
Cant' mount usb drive, /dev/sda1 not showing up orahi001 Filesystems, Disks and Memory 3 04-08-2009 01:52 PM
Error: mount: /dev/dsk//c1t0d0s0 is not this fstype bharu_sri Solaris 4 12-30-2008 01:20 PM
mount: /dev/dsk/c0t6d0s0 no such device dangral Solaris 2 10-03-2005 03:47 PM
How Do I set up a UNix dev environment alam UNIX for Dummies Questions & Answers 1 09-14-2001 02:01 AM



All times are GMT -4. The time now is 12:21 AM.