On Mon, Dec 29, 2003 at 10:41:05AM +1100, Kieren wrote:
> Kevin Mark <[EMAIL PROTECTED]> writes:
> 
> > On Sun, Dec 28, 2003 at 08:24:35AM +1100, Kieren wrote:
> >> 
> >> I have followed the Hard-Disk-Upgrade to the best of my ability,
> >> upgrading the 3.5 gb hard drive on my old pentium 100 (Dell) laptop to
> >> a 30 gig hard drive.  Everything went well, except that when I boot I
> >> get the following:
> 
> > Hi Kieren,
> > I'm still a little confused.
> > Did you do this:
> > open laptop
> > take out old hd
> > attach old hd to desktop and make drive image
> > attach new hd to desktop and copy drive image to new hd
> > put new hd in laptop
> 
> Nearly but not quite.  I did the following:
> 
> Pluged in new hdd via pcmcia drive.
> Set up appropriate partitions on new drive
> 
> Mounted new root partition on /flash (just a handy mount point I
> happened to have lying around) and followed instructions in hard
> disk upgrade, starting with: 
> 
> cd / && echo cp -a `/bin/ls -1Ab |egrep -v "^flash|^proc$|^home$"` /flash|sh
> 
> Set up lilo as below (as far as I can see as per instructions), ran
> lilo, as follows:
> 
> /sbin/lilo -C /flash/etc/lilo.conf
> 
> 
> Swapped old disk for new disk booted and got as far as 
> 
> Loading Linux ........................................
> 
> I can't boot from floppy or CD to fix lilo, but can boot from the old
> disk and mount the new disk at the same time (which is what I'm doing
> at the moment, but I want to recycle the old drive into a new old
> laptop).
> 
> Any help much appreciated.
Hi Kieren,
ok now I see.
old hd INSIDE computer,
new hd ATTACHED with a PCMCIA interface and mounted on /flash.
Personally I use DD to copy but I know others like cp -a ;-)
I think I'd try 'chroot' to see if the new partition will work.
so try,
chroot /flash
if you get a 'prompt' it will mean that the transfer created a bootable
system.
after that, just type 'exit' to exit out of the chroot system.
I think if you do 'chroot', you can then run 'lilo -v -b /dev/<pcmcia
disk>' to put lilo on that disk. where /dev/<pcmcia disk> is /dev/hdb or
that ever the pcmcia disk is.
not 100% sure. Just a guess.
-Kev

Attachment: signature.asc
Description: Digital signature



Reply via email to