Quote:
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. |
this is what the file says again:
____________________________________________________________________________________________________ __ # 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).
|
Quote:
I was in root before too. Anyways, thanks to everyone. Let me see if I can modify it now. |
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 --------------------------------------------------------------------------------------------------------- |
Quote:
shouldn't this be something like: Quote:
|
Quote:
Why is it "(hd0,0)"? What are the zeroes for? |
in (hdX,Y) the X is the number equivalent of hard disk letter minus one, example hda = hd0
the Y is the partition number - 1, example hda1 = hd0,0 |
open a console and type this:
su [ENTER] [type your root password] [ENTER] vi /boot/grub/menu.lst use the downarrow key till you get to the bottom of the file and type this: title Windows XP root (hd0,1) savedefault makeactive chainloader +1 hit [ESC] type: : type: wq hit [ENTER] reboot I hope this works. |
Quote:
|
Quote:
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? |
Quote:
then convert the name to grub's format. |
linapx,
What is the output of fdisk -l (that's L, not 1)? This will help us figure out what (hdx,y) should be. |
Quote:
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. Thank you very much guys |
do you mean you'll install a new system? perhaps you can still get your linux system back. can you boot a livecd? ...
boot to your livecd then Code:
mkdir -p /mnt/system |
All times are GMT -5. The time now is 08:36 AM. |