How can I get back to XP after I installed Suse 10.1?
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.
Okay, try from a command line typing su - which should prompt for your root password. Then type gedit /boot/grub/menu.lst. This should open the menu.lst file as the root user. After you modify the file, save it and close gedit. Then type exit to become your regular user again. Your prompt should change from a "#" to a "$" and should say your "username@machinename" at the front of your prompt.
WOOOOOOOOOOOOOOOOOW,
i dont know what i have been doing alllllll night, but I just copied and pased what you wrote and it opened.
I wrote the exact same thing like 1000 times before and it did not work.
I dont think i am finished yet. I guess i have to type that code now.
____________________________________________________________________________________________________ __
# Modified by YaST2. Last modification on Thu Jul 27 02:17:36 UTC 2006
color white/blue black/light-gray
default 0
timeout 8
gfxmenu (hd0,0)/boot/message
###Don't change this comment - YaST2 identifier: Original name: linux###
title SUSE Linux 10.1
root (hd0,0)
kernel /boot/vmlinuz root=/dev/hda1 vga=0x31a splash=silent showopts
initrd /boot/initrd
###Don't change this comment - YaST2 identifier: Original name: floppy###
title Floppy
chainloader (fd0)+1
###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- SUSE Linux 10.1
root (hd0,0)
kernel /boot/vmlinuz root=/dev/hda1 vga=normal showopts ide=nodma apm=off acpi=off noresume nosmp noapic maxcpus=0 edd=off 3
initrd /boot/initrd
____________________________________________________________________________________________________ __
The trick is that this time you were the root (super) user. That's what the su - does. Just be sure to type exit from the command prompt when you're done (you're not supposed to stay root for longer than you need to).
The trick is that this time you were the root (super) user. That's what the su - does. Just be sure to type exit from the command prompt when you're done (you're not supposed to stay root for longer than you need to).
can someone please check this and see if i have it all correct?
----------------------------------------------------------------------------------------------------
# Modified by YaST2. Last modification on Thu Jul 27 02:17:36 UTC 2006
color white/blue black/light-gray
default 0
timeout 8
gfxmenu (hd0,0)/boot/message
###Don't change this comment - YaST2 identifier: Original name: linux###
title SUSE Linux 10.1
root (hd0,0)
kernel /boot/vmlinuz root=/dev/hda1 vga=0x31a splash=silent showopts
initrd /boot/initrd
###Don't change this comment - YaST2 identifier: Original name: floppy###
title Floppy
chainloader (fd0)+1
###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- SUSE Linux 10.1
root (hd0,0)
kernel /boot/vmlinuz root=/dev/hda1 vga=normal showopts ide=nodma apm=off acpi=off noresume nosmp noapic maxcpus=0 edd=off 3
initrd /boot/initrd
###Don't change this comment - YaST2 identifier: Original name: Windows XP###
title Microsoft Windows XP
root (hd0,0)
kernel /boot/vmlinuz root=/dev/hda2
initrd /boot/initrd
perhaps you can also exclude savedefault if you don't want windows xp to be the default entry when booting.
ok, i wrote what myates1980 wrote, i restarted the computer and at first i was happy that Xp was one of the choices, but when i pressed enter on it, there was an error. it said that something is not "executable". I think that in menu.lst, it should be specified where XP is.
should "hdo,1" be made into something else which directs it to C/Windows?
should "hdo,1" be made into something else which directs it to C/Windows?
shouldn't that be hd0,1? anyway you can look at your current partition tables at /proc/partitions. base your windows partition on what you think is its size.
What is the output of fdisk -l (that's L, not 1)? This will help us figure out what (hdx,y) should be.
I can't try it now. I think I typed something wrong and when I tried it after restarting the pc, I got an error message which said that there is no operating system.
Right now I am back to XP after reinstalling it. I'll put Linux on again and see what happens.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.