there is a step to be added in the procedure..i dont see any proc or /dev
being binded...without this the grub will not generate the correct initramfs
and hence kernel panic
______ ______________________________
*| without fear | without remorse | without pity **|*
*|
**|*
*|*http://god-is-an-alien.blogspot.com/<http://god-is-an-alien.blogspot.com/>
*|*
*|
**|*
*|*http://wediefornation.blogspot.com/ <http://wediefornation.blogspot.com/>
*|*
*|
**|*
*|*http://ankscorek.blogspot.com/ <http://ankscorek.blogspot.com/>
*|*
*|
**|*
*|*http://sites.google.com/site/agnayelinux<http://sites.google.com/site/agnayelinux/>
/ <http://sites.google.com/site/agnayelinux/> *|*
*|
**|*
*|*____________________________________*|*
On Mon, Oct 25, 2010 at 10:05 AM, pahnin sd <[email protected]> wrote:
> On Sun, Oct 24, 2010 at 11:03 PM, Narendra Sisodiya
> <[email protected]> wrote:
> >
> >
> > On Sun, Oct 24, 2010 at 11:01 PM, Narendra Sisodiya
> > <[email protected]> wrote:
> >>
> >>
> >> On Sun, Oct 24, 2010 at 10:58 PM, Narendra Sisodiya
> >> <[email protected]> wrote:
> >>>
> >>>
> >>> On Sun, Oct 24, 2010 at 7:08 PM, Parveen Arora <[email protected]>
> >>> wrote:
> >>>>
> >>>> On Sun, Oct 24, 2010 at 7:02 PM, pahnin sd <[email protected]>
> wrote:
> >>>> > On Sun, Oct 24, 2010 at 6:58 PM, Parveen Arora <[email protected]>
> >>>> > wrote:
> >>>> >> On Sun, Oct 24, 2010 at 6:53 PM, pahnin sd <[email protected]>
> >>>> >> wrote:
> >>>> >>
> >>>> >>> I made a shell script
> >>>
> >>> Script is not fully automated,,, it need manual effort.. one can modify
> yes i want you guys to help in the modification thanx for doing that
>
> >>> it and add something like auto-discovery of /dev/sdaXXX
> >>
> >> #!/bin/bash
> >> sudo mkdir /media/ubuntu
> >> <to be modify>
> >> List all partition which is ext2 or ext3 or ext4
> >> Mount them one by one
> >> check how many partition has /boot on them
> >> partition(s) which has boot on them should be use as root directory
> >> </to be modify>�
> >> ### sudo mount -t ext4 /dev/sda4 /media/ubuntu - this is not needed...
> if you already mount the partition at /media/ubuntu this is not need
> if not when you go to the next command you have to change the root
> path because some times it may be mounted at /media/xxxxxxxxxxxxx
> xxxxxxxxxxxxxx will be the uuid
> >> sudo grub-install –root-directory=/media/ubuntu/ /dev/sda
> >
> > There can be multiple harddisk /dev/sda etc
> > in old system, Once I changed my harddisk location (on 2 PATA cabel each
> > having 2 slots) then drive letter changed from sda to sdb etc
> > grub on each root partition can be different..
> >
> >
> >
> > --
> > l...@iitd - http://tinyurl.com/ycueutm
> >
>
> --
> l...@iitd - http://tinyurl.com/ycueutm
>
--
l...@iitd - http://tinyurl.com/ycueutm