You are not logged in.

#1 2009-12-29 08:01:36

Morringos
Member
Registered: 2009-12-29
Posts: 6

My PC reboot when I press enter in Windows for booting

Hi brothers, I'm noob in this world of Linux and I'm triying install ArchLinux on a Virtual PC with VirtualBox. Oks, I have a HD of 20GB, but this 20GB, 5GB is for Windows XP, and I install ArchLinux with the next partitions:

/boot   sda2   ==> 250MB
swap    sda3  ==> 512MB
/       sda5     ==> 10GB
/home   sda6 ==> the rest of HDD free space


Oks, so, the /boot is a ext2 or ext4 partition, / is a ext4 and /home ext4 too, and I install the Grub in the /boot partition (sda2), so I configure the next steps, enable the Windows section in the /boot/grub/menu.lst file, but when I reboot the system and I select Windows, the machine reboot automatically, but if I press ArchLinux, the system load ArchLinux, I've configured and reinstall mbr and boot, but Windows star automatically, how can I star Windows and ArchLinux fine or configure it fine?, please help, I've mor then 5 hours triying it and I can not make it.

For your's time, very thank's and sorry for my bad english.
Greetings!;:)

Offline

#2 2009-12-29 14:38:23

simuru
Member
Registered: 2008-07-13
Posts: 15

Re: My PC reboot when I press enter in Windows for booting

I think grub rebootes automatically when the there is no operating system. So maybe the entry in the /boot/grub/menu.lst is wrong.
Could you post the content of this file?

Last edited by simuru (2009-12-29 14:38:41)

Offline

#3 2009-12-29 17:41:49

Morringos
Member
Registered: 2009-12-29
Posts: 6

Re: My PC reboot when I press enter in Windows for booting

Ok, the menu.lst file contains the next lines:

# (0) Arch Linux
title Arch Linux
root (hd0,4)
kernel /vmlinuz26 root=/dev/disk/by-uuid/ba1d6d94-487e-4eed-ae08-4a9413e286f9 ro initrd /kernel26.img

# (1) Arch Linux
title Arch Linux Fallback
root (hd0,4)
kernel /vmlinuz26 root=/dev/disk/by-uuid/ba1d6d94-487e-4eed-ae08-4a9413e286f9 ro initrd /kernel26-fallback.img

# (2) Windows
title Windows XP
root (hd0,0)
makeactive
chainloader +1

But when I press Windows XP, the machine display the next error:

Booting 'Windows XP'
root (hd0,0)
Filesystem type is ext2fs, partition type 0x83
makeactive
chainloader +1

Error 13: Invalid or unsupported executable format
Press any key to continue...

I've put the Windows CD and execute the next commands for repair it: fixboot and fixmbr, but now, grub not appear and Windows load automatically and insert the Super Disk Grub and repair the Grub, but the error appear.

Any have an idea?

And one question, I install the boot in the /boot partition, is correctly or the boot wold be installed in the /dev/sda partition?.
Thank's for your answer bro.

Last edited by Morringos (2009-12-29 17:49:29)

Offline

#4 2009-12-29 21:08:44

Morringos
Member
Registered: 2009-12-29
Posts: 6

Re: My PC reboot when I press enter in Windows for booting

I've reinstall Windows XP and install ArchLinux but with 3 partitions:

/           ==> primary
sawp     ==> logical
/home   ==> primary

But when I press on Windows menu Grub, this display the Windows of start Windows, Safe mode, and I press on Star Windows, but my PC reboot, and if I press ArchLinux, this SO load, but I reinstall the bootloader for Windows with the Super Disk Grub, and Windows star automatically so, reinstall grub, but the Windows don't start, why?, I have the menu.lst file:

# (0) Arch Linux
title Arch Linux
root (hd0,1)
kernel /vmlinuz26 root=/dev/disk/by-uuid/ba1d6d94-487e-4eed-ae08-4a9413e286f9 ro initrd /kernel26.img

# (1) Arch Linux
title Arch Linux Fallback
root (hd0,1)
kernel /vmlinuz26 root=/dev/disk/by-uuid/ba1d6d94-487e-4eed-ae08-4a9413e286f9 ro initrd /kernel26-fallback.img

# (2) Windows
title Windows XP
root (hd0,0)
makeactive
chainloader +1

Please help, I've more than 2 days installing it.
Excuse me for my repost or double reply. sad

Offline

#5 2009-12-29 21:31:23

simuru
Member
Registered: 2008-07-13
Posts: 15

Re: My PC reboot when I press enter in Windows for booting

If you repair the windows installation the MBR (Master Boot Record) is overwritten bei windows. That is why windows always boots after you 'repaired' it. But i am not sure why grub fails to load windows. sorry.

[EDIT]: The enty in the menu.lst file looks fine for me (but i don't use windows so i am not 100% sure!)

The last experience i had with windows and arch linux was: install windows on sda1 then linux on the remaining partitions and let grub do the work which worked out for me. maybe someone else has an idea?

Last edited by simuru (2009-12-29 21:33:28)

Offline

#6 2009-12-29 21:48:34

Morringos
Member
Registered: 2009-12-29
Posts: 6

Re: My PC reboot when I press enter in Windows for booting

Thank's bro, but I've installed Windows on sda1 and the free space is for /, /home and swap partition, but, I need install grub on / partition or I need create a /boot partition and install grub on this partition?.
I first install Windows and after install ArchLinux and grub on the / partition, thi is OK?.

Offline

#7 2009-12-30 00:14:55

simuru
Member
Registered: 2008-07-13
Posts: 15

Re: My PC reboot when I press enter in Windows for booting

if u install windows first then u can install on /dev/sda (not /dev/sda1 or any number) without a problem since windows ususally does not need a bootloader. At least as far as i know, and this method should even work with windows 7 since a friend of mine runs this configuration.

greetings

Offline

#8 2009-12-30 02:49:11

Morringos
Member
Registered: 2009-12-29
Posts: 6

Re: My PC reboot when I press enter in Windows for booting

Thank you, I will try to what I said and then you said that as I was, thank you for your response.

Offline

Board footer

Powered by FluxBB