On Mon, May 14, 2007 at 06:39:41PM +0300, Andrei Popescu wrote: > mess-mate <mess-mate@wanadoo.fr> wrote: > > > Hi list, > > i've a machine with xubuntu installed. > > The machine have ONLY a hd partioned like this: > > HD = 6000M > > hda1= / = 5650M > > hda2= swap = 50M > > hda3 = 300M > > I did a debootstrap on the hda3 partition and the etch base is there > > installed. > > Have to correct grub to boot etch on hda3, seems not a problem. > > But after that how can i reinstall etch on hda1 ? > > Maybe a second debootstrap ? > > Thanks in advance for any suggestion > > mess-mate > > I think you can use something like rsync to make an exact copy of the > contents of hda3 to hda1. Boot to hda1 and rebuild the initrd (I don't > know the exact command so I usually just do an > 'aptitude reinstall linux-image...'). If you can't boot to hda1 you can > still use the install in hda3 to chroot to hda1 and rebuild the initrd. probably do the chroot to hda1 right off as it probably won't boot otherwise. and the command is update-initramfs -k all -u would update all the existing kernels it finds. A
Attachment:
signature.asc
Description: Digital signature