Hi Conor,
Yes I did do a chroot to the device before running grub install.
When the system boots into the grub menu, I tried giving the parameter for
root, kernel, initrd via command line. But the system stops booting with the
same error.
Thanks,
--W
On 2/22/07, Conor Daly <conor.daly_ilug at cod.homelinux.org> wrote:
>> On Thu, Feb 22, 2007 at 08:35:21PM +0530 or so it is rumoured hereabouts,
> Walter Faleiro thought:
> > Thats exactly what I did Conor
> >
> > Created a partition
> > mke2fs -j /partition
> > mount partition /mnt/tmp
> > scp root.dump /mnt/tmp
> > ufsrestore root.dump
> >
> > Boot into rescue mode
> >
> > grub-install /dev/hda1
>> Did you do a 'chroot /mount/point/of/hda1' before the grub-install ? Can
> you do anything from the grub shell? Print out your /etc/grub.conf and
> use that as a guide to file names and such.
>> Is the 18G disk big enough?
>> Maybe try something like:
>> scp root.dump /mnt/tmp/root1.dump
> scp root.dump /mnt/tmp/root2.dump
> scp root.dump /mnt/tmp/root3.dump
> scp root.dump /mnt/tmp/root.dump
>> rm /mnt/tmp/root1.dump /mnt/tmp/root2.dump /mnt/tmp/root3.dump
>> ufsrestore root.dump
>> just in case it's somehow putting the /boot/ stuff too far down the
> partition. This is clutching at straws thought...
>> I don't think you should have the dump file on the new filesystem
> either...
>> Conor
>> > On Thu, Feb 22, 2007 at 04:14:40AM +0530 or so it is rumoured
> > hereabouts,
> > Walter Faleiro thought:
> > > I could run the restore command via a fc6 cd, but now am
> stuck
> > with a
> > > familiar error
> > >
> > > attempt to access beyond end of device
> > > 03:01 rw=0 want=1234567890 limit=12345678
> > > kernel panic no init found try passing init= option to kernel
> > > The above numbers are phoney just to indicate the error
> > >
> > > I tried booting the system from the grub command line
>> --
> Conor Daly <conor.daly at cod.homelinux.org>
> -----BEGIN GEEK CODE BLOCK-----
> Version: 3.1
> GCS/G/S/O d+(-) s:+ a+ C++(+) UL++++ US++ P>++ L+++>++++ E--- W++ !N
> PS+ PE Y+ PGP? tv(-) b+++(+) G e+++(*) h-- r+++ z++++
> ------END GEEK CODE BLOCK------
>http://www.geekcode.com/http://www.ebb.org/ungeek/> --
> Irish Linux Users' Group mailing list
> About this list : http://mail.linux.ie/mailman/listinfo/ilug> Who we are : http://www.linux.ie/> Where we are : http://www.linux.ie/map/>
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!