Help Needed: XP/Linux Issues After Linux Reinstall

  • Thread starter Thread starter neutrino
  • Start date Start date
Click For Summary
SUMMARY

The discussion centers on issues faced after reinstalling Kubuntu on a dual-boot system with Windows XP. The user encountered a low display resolution of 640x480 and subsequently attempted to reconfigure the X server using the command sudo dpkg-reconfigure xserver-xorg. After a failed restart, the user uninstalled Linux, mistakenly deleting both the swap and installation partitions, which led to a Grub error (Error 22) preventing access to Windows XP. A suggested solution involved using the Windows XP recovery console to execute fixmbr to restore the boot record.

PREREQUISITES
  • Understanding of dual-boot systems and partition management
  • Familiarity with Linux command line operations
  • Knowledge of Grub bootloader functionality
  • Experience with Windows XP recovery tools
NEXT STEPS
  • Research how to properly configure dual-boot systems with Linux and Windows
  • Learn about partition management tools in Linux, such as GParted
  • Study the Grub bootloader and how to troubleshoot common errors
  • Explore the use of the Windows XP recovery console for boot issues
USEFUL FOR

This discussion is beneficial for Linux users, system administrators, and anyone managing dual-boot configurations who may encounter boot issues or display resolution problems after a Linux installation.

neutrino
Messages
2,093
Reaction score
2
I thought I had everything under control after I had installed Linux(Kubuntu), but things have taken a turn for the worse.

The first run was all right, but when I turned the computer on this morning, I found a screen with a resolution of 640x480, with the only other option in display settings being 640x400. So, I searched the net and the ubuntuforums for a solution and found a particular code:
Code:
sudo dpkg-reconfigure xserver-xorg
in threads relating to similar desktop resolution problems. Well, I typed it into the terminal and spent some time answering all the questions. I don't know what went wrong, but Kubuntu wouldn't go beyond the start-up screen after a restart. I had no other choice (at least as far as I knew) but to uninstall and do a reinstall. Again, I searched for instructions for uninstalling, and here's where the problems started. There were instructions to delete the drive containing Linux, which I might have misread somehow. I deleted both the swap (which then became a Free Space of 365 MB) and install part (which became unallocated 18.09GB).

Now when I boot the computer I get an error (Error 22) because the Grub is missing or something. Therefore I'm not able to get into XP as well. Fortunately, I'm able to connect to the internet from the LiveCD and post this message. But this is just a temporary solution.

It would be great if someone could help me out. Thanks.
 
Computer science news on Phys.org
Put your xp cd in and boot to cd, then choose 'recovery console'.. once that has loaded do a 'fixmbr' that will fix your broken boot record.

You didnt need to uninstall Linux you should have gone into init2 cli and you could have fixed your config from there...

Good luck
 
Hey, Anttech. Thanks a lot! I'm much relieved now. I've been learning quite a few things while trying to get a Linux distro to work.
 

Similar threads

Replies
2
Views
3K
Replies
6
Views
9K
Replies
13
Views
4K
Replies
6
Views
6K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 123 ·
5
Replies
123
Views
20K
Replies
6
Views
3K
Replies
7
Views
9K
Replies
2
Views
6K
Replies
3
Views
5K