[SOLVED] URGENT, can't boot window after deleting ubuntu partitions and some mess up
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
URGENT, can't boot window after deleting ubuntu partitions and some mess up
Yesterday, I tried to delete ubuntu 7.04 partition by using disk management in vista.
After that, I got the GRUB error 17 message.Then I check in internet for solutions, and some how, I got my partition which is vista os "wear" the mask linux.
My fdisk -l
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 1 863 6928384 27 Unknown
Partition 1 does not end on cylinder boundary.
/dev/sda2 * 863 19237 147590999 83 Linux
/dev/sda3 19238 19457 1767150 5 Extended
Today, I finally got the solution for the grub error 17, and it works. However, my latop got another issue. When I boot my vista, chkdsk doesn't run. After 3 seconds, my laptop restart, and the problem with chkdsk repeat.
Please do not use "urgent" in your thread titles. What is urgent for you is not urgent for anyone else. Putting such words in your title will not get help to you any faster. From what you have said, I would guess your solution will come from the Vista side rather than the Linux side. I hope you have a Vista resue disk of some kind. That is probably were your solution lies, if there is a solution. You might also try posting on some of the Vista forums to see what people have done in similar situations.
Cheers,
jdk
I burned the recovery cd, and booted it. However, for some reason, startup repair can't repair my problem and recommend me to send the problem back to microsoft.
Diagnosis and repair log
Number of repair attempts: 4
Session details
System Disk = \Device\Harddisk0
Window directory = \\?\GLOBALROOT\Device\HarddiskVolume2\Windows
AutoChk Run = 0
Number of root causes = 1
I tried to use prompt to input the BootRec.exe command. The result is
*With /FixMbr : The repair works, but it doesn't solve my problem.
*With /FixBoot : The volume does not contain a recognized file system. Please make sure that all required file system drivers are leaded and that the volume is not corrupted.
*With /ScanOS : Total identified windows installations : 0 (My guess is that my early messed up make window "wear" the mask linux)
*With /RebuildBcd : Total identified windows installations : 0
In the above mentioned article pay special attention to the part -- Partition Creation and read up the text mentioned below.
Quote:
By default, fdisk creates a partition of type Linux with ID 83. This is incorrect, if you're trying to create a partition of type swap. You can change the partition type using the command “t”.
Yah, I used fdisk /dev/sda. Chose option m and use command t to change my partition. I remembered that I use 82 which is linux. Is there anyway that I can restore my vista ID.
Each partition type has a number assigned to it. For the most part, the hex codes of the partition ID's are unique. In some cases, there are conflicts - Solaris partitions and Linux swap share the same ID. If unsure of the Partition ID, use “L” to check. As you can see, fdisk supports a wide variety of partitions from FAT to BSD to BEOS. We select 82 for Linux swap.
Go through the article again -- and this time, select the Hex code corresponding to NTFS ( (or whichever partition type you think Vista is installed on)from the list - by typing L) and go ahead.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.