2010/3/10 Andrei Popescu <andreimpope...@gmail.com> > On Wed,10.Mar.10, 00:27:19, Umarzuki Mochlis wrote: > > So now i had installed grub2 and it does not automatically detects a > distro > > i had installed (before installing debian) on /dev/sda3 > > > > I saw this message on /boot/grub/grub.cfg > > # DO NOT EDIT THIS FILE > > # > > # It is automatically generated by /usr/sbin/grub-mkconfig using > templates > > # from /etc/grub.d and settings from /etc/default/grub > > > > and do i proceed from here? > > Install os-prober and re-run update-grub. > > Thanks, the following is the steps taken (which is successful, of course)
1. mount /dev/sda3 (the ext4 os partition) "tune2fs -E test_fs /dev/sda3; mount -t ext4dev /dev/sda3 /mnt/" 2. copy its menu entry entry in /mnt/boot/grub/grub.cfg to /etc/grub.d/40_custom 3. run update-grub (it should say that it detects the other os's kernel) 4. new entries for that os will be appended in /boot/grub/grub.cfg > Regards, > Andrei > -- > Offtopic discussions among Debian users and developers: > http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.10 (GNU/Linux) > > iQEcBAEBCAAGBQJLlrFJAAoJEHNWs3jeoi3p8BwH/jojcCfYqHqLZUc0HVV7QiKb > rvokI3/ECOUssO5Vx6HVSMCpY/ony0Yck6+c8eO2oazRPEsETxM90npRZJe+6ovy > XC8JQuhd8dKBEXfnVfJFM1yxWkOvE8/gjBwAsBTWtypg1UmzSaF7E8z3HWoGty/e > PwDJStqRQLptCN+bJBJoBSUbVl3NXduRhVBh//5Ea7amndsIyxWB6jiSWbDM5/jC > oLxwNvpBCLclLjune64cqQ9h8O9d0Oi6bTBlIhAOdS3K4qO95WztvS8q0KBcVWx8 > N0LiXBMxTtuynRiXHlkSOrARSqsus3ullMR1oAXA/4ORia/aGAVx3pHJ099YJk4= > =yGga > -----END PGP SIGNATURE----- > > -- Regards, Umarzuki Mochlis http://debmal.my