Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
now i have spent a couple of hours trying to install windows on my EEE pc 900, the tutorial i used to get help changing from linux to windows told me to remove all partitions on the hard drive, i removed all the partitions so that only the BIOS partition was left, and ofcourse my USB flash device were displayed there too but i didnt do anything to that one. So, now when i decided to recover my linux(Xandros or w/e) i made my USB flash device bootable with the linux recovery thing that i got from the CD that came with my EEE pc, i booted with the USB device and after a while it told me it had successfully recovered the thingy, and that i could press enter to reboot, i pressed enter and the PC started, but then it came to a black window saying:
"Scanning user partition, please wait...
fsck 1.40-WIP (14-NOV-2006)
e2fsck 1.4-WIP (14-NOV-2006)
fsck.ext3: No such device or adress while trying to open /dev/sda2
possibly non-existand or swap device?
tune2fs 1.40-WIP (14-NOV-2006)
/sbin/tune2fs: No such device or adress while trying to open /dev/sda2
Coulsn't find valid filesystem superblock.
Press <ENTER> to reboot..."
I dont understand what the problem is, i just want to recover my linux and nothing more, please someone help me!
Hmm, try reboot with your usb device again. Maybe you recovered your partitions onto that one instead of the machine's harddrive. No OS was found, thats what the message means.
so i have to reboot and re-recover my linux again?
well when i did it the first time i wasnt able to choose anything, it just asked me for a "yes" to continue, i wrote "yes" and it recovered it... i dont know if i did anything to the partation on the USB instead you are talking about...
Does the CD you have give you a live boot? If not download and burn a copy of Pated Magic or GParted live-cd, boot them and open a terminal, then execute the command <fdisk -l> and post it. You can do the same with any other live-cd. This will show what you have for partitions.
What exactly is the CD you have? Is it a Xandros installation CD, and if so, why not simply install Xandros again?
It is decidedly not helpful to refer to items naming them "thingy".
Details and specifics are useful. Read this and consider.
sorry for being so undetailed, but no its not an installation CD of xandros, its just the EEE pc recovery CD that comes with every EEE pc, i will try your method, thanks
i don't know how to do that since my EEE pc doesn't have a CD rom driver, what do you think is missing? have i lost a partition that i shouldn't or what? should i use my guarantee and go back with it to where i bought it or can i fix it my self somehow?
I don't understand. The machine does not have a CD/DVD drive but Asus included a CD? What is it, what does it contain, a copy the Xandros system for back up? You copied it to a USB Flash Drive and booted it? It did boot?
You are using another computer to communicate with this forum? Does it have a CD burner? Assuming it does, download and burn a copy of Ubuntu 8.10, then follow the easy path to put Ubuntu on a USB Flash Drive.
At the POST of your EeePC there may by be a key stroke to bring up a screen for a one time boot. Otherwise press key F2, enter Setup, find the BIOS setting for Boot Sequence and change the First Boot Device to USB flash or USB HDD. Guidance for your BIOS should be in your Users Manual.
Also find the publication number of your manual and post that, so I can read what you can read.
Set the Flash Drive in a USB port, reboot, and once you are in Ubuntu, open a Terminal and as root(sudo) enter the command <fdisk -l> and post the results here. the signs <> means type exactly what is between these.
You will have to find your own way to the Terminal and root in Ubuntu, as I don't have Ubuntu or use Gnome.
You might also consider whether you want to try to get back the Xandros that came with the machine. If that is not an installation copy CD you have, you might well need the same partitioning scheme that was on the system before you changed it. There are other linux distributions that might be easier to install, easier to maintain and easier to use. Google to see what others have installed.
Last edited by thorkelljarl; 01-08-2009 at 06:32 PM.
Boot into the thing with a livecd or live usb, get to some sort of shell. DO NOT MOUNT THE INTERNAL DISK (Sorry for shouting, its just that is most important)
Lets hope somewhere you've done a format/over-write session. If you have, you're not getting anything back- not without some sort of cool endoscope type thing.
You're going to need an image, now, of your disk to get your data from. You're going to need a free hard drive/ larger hard drive to copy over too. Reason we take an image is in case we damage the data we're trying to recover, then its always on the disk
you'll need
Code:
dd if=/dev/sda of /mnt/some_mounted_thing/eee-image.img
After that, recovery is harder. You may find you want to rebuild your system on the eeepc and use something like scalpel to recover data. Not ideal (or quick) but i'd recommend it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.