@pchan:
1.0 I am at work right now. But I have seen that Ahau has responded to you on the other thread. Please answer according to the info that he has asked you first. He is trying to troubleshoot the issue. He is really good at it. If you do not understand what is required, ask some questions.
2.0 What are you expecting of me by posting the above information? If your question is for me to provide a menu.lst for you, I need some additional information. Please, give me the output of fdisk -l and blkid commands with your sdcard inserted on the computer.
For example, on my computer:
2.1 Finding the UUID of the sdcard.
From fdisk -l, I identify my usb key, which is /dev/sdc and partition /dev/sdc1 (you have to find your sdcard)
Code: Select all
root@porteus:~/Desktop# fdisk -l
Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xdfbadfba
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 169402367 84700160 7 HPFS/NTFS/exFAT
/dev/sda3 169437616 625137344 227849864+ 5 Extended
/dev/sda5 230581008 310279409 39849201 83 Linux
...
...
Partition table entries are not in disk order
Disk /dev/sdc: 8019 MB, 8019509248 bytes
251 heads, 44 sectors/track, 1418 cylinders, total 15663104 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00037247
Device Boot Start End Blocks Id System
/dev/sdc1 2048 15663103 7830528 83 Linux
Then with blkid, I get the UUID (unique identification number for the partition of my usb key, here cb81a316-66b7-4a04-9760-43357614fc06:
Code: Select all
root@porteus:~/Desktop# blkid
/dev/sda1: UUID="A07E59777E594766" TYPE="ntfs"
/dev/sda5: UUID="bea08a25-5ee5-45f4-bf0c-77f040d19295" TYPE="ext2"
/dev/sda6: UUID="77b01f1e-cf3a-4036-81f4-76938ec3b5d9" TYPE="ext4"
/dev/sda7: UUID="9da4aa97-57a2-42b6-a069-9b40f65ad8bd" TYPE="ext2"
/dev/sda8: UUID="85f99856-4761-47d0-b724-7183c589a324" TYPE="ext2"
/dev/sda9: UUID="a1c477b1-ad99-4f2c-a513-aadbb4cd2e5e" TYPE="ext4"
/dev/sda10: UUID="bb0b7897-4190-4f05-af90-40fcaa02b362" TYPE="swap"
/dev/sda11: UUID="d341bd94-cbec-478a-a1fe-64889d226268" TYPE="ext2"
/dev/loop0: TYPE="squashfs"
...
...
/dev/sdc1: UUID="cb81a316-66b7-4a04-9760-43357614fc06" TYPE="ext2"
root@porteus:~/Desktop#
2.2 Preparing a menu.lst for the sdcard (you will have to save that menu.lst anywhere else than in the /boot/grub/menu.lst for now).
Then your menu.lst should look like, inserting the uuid of your sdcard:
Code: Select all
title porteus v2.1 my-architecture on sdcard sdxy Graphics mode (XFCE)
root (hd0,0)
kernel /boot/syslinux/vmlinuz from_dev=/dev/disk/by-uuid/UUID:cb81a316-66b7-4a04-9760-43357614fc06 changes=EXIT:/dev/disk/by-uuid/cb81a316-66b7-4a04-9760-43357614fc06/porteus/change.dat login=root
initrd /boot/syslinux/initrd.xz
boot
3.0 As your sdcard to get a grub bootloader has to be unmounted, you have to proceed from a porteus cd and you need the grubconfig.xzm activated on it or on any secondary support.
Just follow the instructions in the first post.
***CAUTION***
In your case do not put mbr on sda, your computer hdd. You have to set it on your sdcard /dev/sdx as identified command fdisk -l once you boot with a secondary linux support. This might not be the same as the one you got booting from your actual sdcard with the porteus installation. If you are good with disk partitioning, the worst that could happen is that you put the mbr on the wrong partition which will be taken into account by the menu.lst generated by grub.
Edited as of august 12th, 2013 at 21:12 from Montréal, Québec.
Prendre son temps, profiter de celui qui passe.