Help! I can`t boot my laptop
So, I deleted some program files and after restarting laptop it can not boot. I believe that only way is to reinstal program? But how can I get my data out of lap if it not booting???
P.S. I use ubuntu 10.04.4 |
You may just have lost the grub setup; try using a LiveCD (or USB installation) to boot from, then:
Mount the Ubuntu partition: sudo mount /dev/sdaX /mnt Run grub-install: sudo grub-install –root-directory=/mnt/ /dev/sda (double hyphen before the word "root") Reboot, then run sudo update-grub |
While you are in the live session plug your external hard drive and copy all the files you want to save from the computer to your external. Or if you are in a network transfer the files to another computer until you fix the problem.
good luck to you! |
Hi!
Quote:
So what now? |
Hi, thank`s
Quote:
|
Boot your Linux Live CD or flash drive, open a terminal and type: sudo fdisk -l(lower case Letter L in the command) to see if sda shows up. If it is just a permissions issue, you may need to prefix your cp command with sudo.
|
If you deleted some "program files" and now the system won't boot, you deleted more than programs. Programs should be removed via your add-remove software applet or apt/synaptic, not by just deleting things. Removing software would not make the system fail to boot like that.
|
Quote:
Code:
wim@i3-2120:~$ sudo fdisk -l |
Actually your GRUB will be installed in the partition that host the boot files you can identify it because it has the * on it. in the above picture is in /dev/sda1
and to copy out your files I think even if they show a lock on it you still can make copies to an external hard drive. you could also use the command cp and copy them out using the command line like Code:
sudo cp /home/your_user /dev/sdaX Good luck to you |
A little off-topic:
The above example is not telling the whole story regarding Grub. Grub is not installed in /dev/sda1; it's installed in the MBR of /dev/sda ;) |
Quote:
" Just WHAT did you delete !!!! " What is " some program files" ????? Please DEFINE THAT! if you removed the operating system then it will NEVER boot with out knowing JUST WHAT YOU DID we can NOT help . |
Quote:
|
Hi! :)
Quote:
So, thank`k once more ;) |
Great!
Please mark your thread as solved using the thread tools just above the first post on this page. |
All times are GMT -5. The time now is 11:07 PM. |