From: Jimmy Johnson on
Umarzuki Mochlis wrote:
>
>
> 2010/3/10 Andrei Popescu <andreimpopescu(a)gmail.com
> <mailto:andreimpopescu(a)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


Another way to boot an ext4 system is to add 'rootfstype=ext4' to the
kernel line in the /boot/grub/menu.lst.
--
Jimmy Johnson

SimplyMEPIS 8.5 RC-2 at sda9
Registered Linux User #380263


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/4B97B62D.8000501(a)gmail.com