LinuxQuestions.org
Register a domain and help support LQ
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 01-24-2013, 10:24 PM   #1
pra838
Member
 
Registered: Feb 2010
Location: Sri Lanka
Posts: 48

Rep: Reputation: 0
Red face Unable to boot


Using RHEL 5.X amd64
Sever has not CD/DVD rom.
Edited the "/etc/fstab" and reboot.
Edited wrong.So now unable to boot.
I have my data on /data partition.
As my knowledge partition table as like this.

/root
/data
/home
swap

How to recover my server.
Can I use network recovery method?

Thanks.
Prabhath
 
Old 01-24-2013, 10:50 PM   #2
blue_print
Member
 
Registered: May 2010
Location: In world
Distribution: RHEL, CentOS, Ubuntu
Posts: 275
Blog Entries: 3

Rep: Reputation: 49
You can try booting the system from USB drive and recover the system or take the backup of /data. To use USB as bootable media, you will need to install OS on it. Please refer to this link,

http://www.pendrivelinux.com/ubuntu-...drive-install/
 
Old 01-26-2013, 06:34 AM   #3
pra838
Member
 
Registered: Feb 2010
Location: Sri Lanka
Posts: 48

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by blue_print View Post
You can try booting the system from USB drive and recover the system or take the backup of /data. To use USB as bootable media, you will need to install OS on it. Please refer to this link,

http://www.pendrivelinux.com/ubuntu-...drive-install/

Thing is that server does not have CD/DVD rom.I already mentioned that.
I have 4GB USB drive + ubuntu 12.1.

What shall I do now?

Thanks
 
Old 01-26-2013, 06:46 AM   #4
Inkit
Member
 
Registered: Feb 2011
Location: India
Distribution: Mint 10
Posts: 141

Rep: Reputation: 15
This is what you do. You download any distribution of your choice in another system. You then download unetboot. You then open unetboot, browse to the image that you downloaded and choose your usb drive. The app will create a bootable usb drive. Once this is done, insert it into your server and boot up. At the bios flash, if it is an intel one, pressing f10 will get you inside and you can choose the boot device. You choose your usb drive and boot up.
Once you've booted up, you have a live system and can browse through the HD in the server. You can now take a backup of all your data or even clone the drive if you have another large enough. Or if you've had the foresight to take a backup copy of your fstab file, restore it and boot up from the drive.
 
Old 01-26-2013, 07:42 AM   #5
pra838
Member
 
Registered: Feb 2010
Location: Sri Lanka
Posts: 48

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Inkit View Post
This is what you do. You download any distribution of your choice in another system. You then download unetboot. You then open unetboot, browse to the image that you downloaded and choose your usb drive. The app will create a bootable usb drive. Once this is done, insert it into your server and boot up. At the bios flash, if it is an intel one, pressing f10 will get you inside and you can choose the boot device. You choose your usb drive and boot up.
Once you've booted up, you have a live system and can browse through the HD in the server. You can now take a backup of all your data or even clone the drive if you have another large enough. Or if you've had the foresight to take a backup copy of your fstab file, restore it and boot up from the drive.

Thing is bios setup shows usb drive but unable to select as boot from that usb.
 
Old 01-26-2013, 08:08 AM   #6
pra838
Member
 
Registered: Feb 2010
Location: Sri Lanka
Posts: 48

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by pra838 View Post
Thing is bios setup shows usb drive but unable to select as boot from that usb.

https://docs.google.com/file/d/0B5zx...BVU21RMDA/edit
https://docs.google.com/file/d/0B5zx...NodlpKYmc/edit
 
Old 01-26-2013, 02:32 PM   #7
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 2,283

Rep: Reputation: 590Reputation: 590Reputation: 590Reputation: 590Reputation: 590Reputation: 590
Have you tried booting into single user mode yet?

Usually this will work when all else fails (edits don't usually alter the root mount). And that should allow you to fix the faulty fstab file.

If that fails, you will need a rescue disk (the distribution kit should have a rescue option - all it does is load a small root into memory, mount it for use, then goes to a CLI, which can then be used to mount filesystems, check partitions... and when you get root mounted, to edit and correct your fstab file.
 
Old 01-26-2013, 09:14 PM   #8
frankbell
Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Mageia, Mint
Posts: 8,104

Rep: Reputation: 1538Reputation: 1538Reputation: 1538Reputation: 1538Reputation: 1538Reputation: 1538Reputation: 1538Reputation: 1538Reputation: 1538Reputation: 1538Reputation: 1538
Another alternative would be to get an external CD/DVD drive and try booting from it. If you don't have one, maybe you can borrow one from a friend for an afternoon.
 
Old 01-27-2013, 03:03 AM   #9
pra838
Member
 
Registered: Feb 2010
Location: Sri Lanka
Posts: 48

Original Poster
Rep: Reputation: 0
Have external usb cd drive.But connect it not recognize as boot media."
https://docs.google.com/file/d/0B5zx...BVU21RMDA/edit" It connect as USB CD ROM.Can not up the USB CD ROM.
 
Old 01-27-2013, 03:34 AM   #10
azarmohds
LQ Newbie
 
Registered: Jan 2013
Posts: 9

Rep: Reputation: Disabled
Quote:
Originally Posted by pra838 View Post
Using RHEL 5.X amd64
Sever has not CD/DVD rom.
Edited the "/etc/fstab" and reboot.
Edited wrong.So now unable to boot.
I have my data on /data partition.
As my knowledge partition table as like this.

/root
/data
/home
swap

How to recover my server.
Can I use network recovery method?

Thanks.
Prabhath
Just a idea,

fstab failed during reboot

If you changed unwanted things in fstab files, when youíre doing reboot activity later on, It should not be work. so in this case , you need to edit the fstab files but here problem was faced, you canít edit fstab file on read write mode, so you need to mount read write option like below and do it on terminal windows and reboot it.

mount -t ext3 /dev/sda1 / -o remount,rw
 
1 members found this post helpful.
Old 01-27-2013, 06:17 AM   #11
pra838
Member
 
Registered: Feb 2010
Location: Sri Lanka
Posts: 48

Original Poster
Rep: Reputation: 0
Thumbs up

Quote:
Originally Posted by azarmohds View Post
Just a idea,

fstab failed during reboot

If you changed unwanted things in fstab files, when youíre doing reboot activity later on, It should not be work. so in this case , you need to edit the fstab files but here problem was faced, you canít edit fstab file on read write mode, so you need to mount read write option like below and do it on terminal windows and reboot it.

mount -t ext3 /dev/sda1 / -o remount,rw


Dear "azarmohds"

Thanks ....! It works ....!
Thank u very much ...!
 
Old 01-27-2013, 06:32 AM   #12
azarmohds
LQ Newbie
 
Registered: Jan 2013
Posts: 9

Rep: Reputation: Disabled
Quote:
Originally Posted by pra838 View Post
Dear "azarmohds"

Thanks ....! It works ....!
Thank u very much ...!
You're welcome my friend
 
1 members found this post helpful.
  


Reply


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
Unable to boot from CD or USB on Asus. Boot options in BIOS not working. ar2deetu Linux - Laptop and Netbook 19 12-14-2012 03:41 PM
Unable to boot: LVM setup on external HDD with separate /boot saivnoba Slackware 3 10-25-2011 09:55 AM
Unable to boot ubuntu in a dual boot with windows 7 on Lenovo L420 bipin0013 Linux - Laptop and Netbook 10 09-14-2011 10:24 AM
Unable to boot RHEL 5.2 and Unable to mount root file system in rescue mode vknemannavar Red Hat 5 01-29-2010 10:05 AM
Unable To Boot To Fedora When Grub Installed in /boot Partition FedoraNewbie Linux - Newbie 4 09-26-2006 04:46 AM


All times are GMT -5. The time now is 11:28 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