LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Unable to boot (http://www.linuxquestions.org/questions/linux-newbie-8/unable-to-boot-4175447102/)

pra838 01-24-2013 09:24 PM

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

blue_print 01-24-2013 09:50 PM

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/

pra838 01-26-2013 05:34 AM

Quote:

Originally Posted by blue_print (Post 4877099)
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

Inkit 01-26-2013 05:46 AM

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.

pra838 01-26-2013 06:42 AM

Quote:

Originally Posted by Inkit (Post 4877881)
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.

pra838 01-26-2013 07:08 AM

Quote:

Originally Posted by pra838 (Post 4877894)
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

jpollard 01-26-2013 01:32 PM

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.

frankbell 01-26-2013 08:14 PM

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.

pra838 01-27-2013 02:03 AM

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.

azarmohds 01-27-2013 02:34 AM

Quote:

Originally Posted by pra838 (Post 4877088)
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

pra838 01-27-2013 05:17 AM

Quote:

Originally Posted by azarmohds (Post 4878340)
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 ...!

azarmohds 01-27-2013 05:32 AM

Quote:

Originally Posted by pra838 (Post 4878374)
Dear "azarmohds"

Thanks ....! It works ....!
Thank u very much ...!

You're welcome my friend


All times are GMT -5. The time now is 09:36 PM.