rgroner wrote:I remember the menu.lst from my old grub days (openSUSE 11.4), but could not find it anywhere on Porteus. There is no "/boot" directory.
I tried adding what you indicated in the porteus.cfg file instead, but that did not show up as a menu option.
Grubconfig will create the boot directory itself.
Given your fdisk output:
Code: Select all
...
/dev/sda1 63 268818431 134409184+ 7 HPFS/NTFS/exFAT
/dev/sda2 * 268818432 390721535 60951552 83 Linux
1.0 With the porteus cd or usb key, install /boot and /porteus folders of porteus on sda2 directly (copy-paste).
2.0 Create the boot directory and install grub legacy on sda1 and sda respectively:
Then add the following input to the four requests of information:
Code: Select all
simple
standard
/dev/sda2
/dev/sda
That is it (see the bottom note).
before rebooting:
2.0 Inserting in the menu.lst instructions. Make sure that the two entries begining with title appear just after the timeout instructions:
Code: Select all
timeout 10 #10 seconds time out to choose between the options, personnally I prefer 3 instead of 10
title Win Vista/7 (loader) at sda1 #if inserted first this will boot windows automatically after the timout specified
rootnoverify (hd0,0)
chainloader +1
title porteus on sda2 KDE or XFCE or ...
root (hd0,1) # sda1 is identified as (hd0,1) 0 for first hdd, 1 for second partition (the first hdd or partition being 0)
kernel /boot/syslinux/vmlinuz from=/dev/sda2 changes=EXIT:/ login=root # will log you in root mode and will create a save changes partition in /
initrd /boot/syslinux/initrd.xz
boot
Note: In the /mnt/sda2/boot folder you will have a new folder installed by grubconfig /boot/grub/ including the menu.lst file.
This is the file to focus on.Forget about syslinux for the rest of the manipulations. Do not reboot now as you would like porteus to boot also.
If you would reboot now you could choose the windows option:
However, porteus is not recognised yet.
Prendre son temps, profiter de celui qui passe.