I Cant Boot up Windows
Hey, I am new to Linux. I was trying it out to see how it was and I think I accidentally got rid of windows somehow. Just wondering if there is any way to get it back. When I turn on my laptop, it goes straight to linux, doesnt even give me an opportunity to load windows. Any help?
|
1. what distribution did you use?
2. as 'root', post the output of: fdisk -l 3. what bootloader are you using? If you use 'grub', then this command will usually show you something: ls -ld /boot/grub 4. what version of MSWin was installed? Of course if you accidentally installed over MSWin, then there's not much we can do for you. |
First can you tell us which linux distro you are using? I am hoping you understand what pinniped asked for. If not please let us know and we will try and help you step by step.
|
Reply
1. I loaded ubuntu linux 8.10
2. Dont understand this question... 3. output of ls -ld /boot/grub: drwxr-xr-x 2 root root 4096 2008-11-10 03:05 /boot/grub 4. I had microsoft windows xp I am almost positive that it installed over windows because it is finally letting me choose what to boot up but my only options are linux and a linux recovery and one more thing related to linux, I would have to double check if necessary. |
What option did you choose when you installed Ubuntu? Usually it asks how you want to partition, using available free space, use the whole drive, or manually.
For number 2, you can run a command as root by prefacing the command with sudo. Note that root is a user account that has full access to everything, and you can break your install if you do something you shouldn't, which is why you should never log in as root and only use sudo when needed. It's similar to the Administrator account in Windows. Code:
sudo fdisk -l |
Thanks for the help...
Here is the answer to number 2: Disk /dev/sda: 80.0 GB, 80026361856 bytes 255 heads, 63 sectors/track, 9729 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0xd3e7d3e7 Device Boot Start End Blocks Id System /dev/sda1 * 1 9327 74919096 83 Linux /dev/sda2 9328 9729 3229065 5 Extended /dev/sda5 9328 9729 3229033+ 82 Linux swap / Solaris And I went with whatever was the standard option when that partition part came up...whatever was default, sorry I cant remember what it was. |
Ok, I'm no expert here, but I see no partition for Windows....meaning you may have deleted it when installing Linux.
Code:
Disk /dev/sda: 80.0 GB, 80026361856 bytes |
That is what I figured I did...well that kinda stinks lol...
Thanks for the help though! |
Well, I'm sorry to say that your last post has confirmed that XP had been nuked. I hope you had no valuable data on it. If you did (and didn't have a backup), it may still be possible to recover *some* files but that's a time consuming process.
|
Quote:
Quote:
You may be able to recover data if need be, but not the Windows installation. |
In order to see if I can recover anything, would I take it to someone, or is there some online instructions you can refer me to...?
|
Quote:
'sda5' is the logical partition which takes up most of sda2. So - the disk is essentially divided into 2 partitions - sda1 (Linux) and sda5 (swap). |
Quote:
[edit] You do have to read through very carefully before (and while) installing an operating system, and everyone recommends you make a backup beforehand even if you know what you're doing. It only takes 1 little mistake to do a lot of damage, whether you're installing MSWin or Linux or some other system. |
Yah, it was pretty dumb on my part...I am just glad that I do not hold my value in something on a laptop, lol, so although I lost pretty much all my files, I am not really upset, I will just move on. Thanks to all of you guys for your help, this was much appreciated.
|
If you are going to reinstall XP, your best bet is to delete all partitions, and create a new one of the size you want the install to be from the XP installer (eg 40GB), then you can install ubuntu (if you are still willing to try linux) in the remaining space.
Of course, you could just keep your system as Linux only... And to other posters, thanks for clearing up that partition information, I didn't even think of it being an primary / logical thing. Nice to know from now on. |
All times are GMT -5. The time now is 09:39 PM. |