Peter, Good to hear that you are up and running.
The assignment of device labels, sda & sdb, depends upon where the drive is located in the device chain. If you move a device to another location you get a different label. Note also Bill Fink's comment about /etc/fstab. The device labels listed will change for the reasons listed above. -Joseph ============================================================================== On Wed, 2005-12-07 at 10:41 +0000, [EMAIL PROTECTED] wrote: > Joseph, > > I tried again this morning and it worked straight away. The difference this > time was > that I had the original disk in the other slot. > > I think I misunderstood what ybin does and by giving it --boot /dev/sdb2 I > was actually > telling it to look at that device at boot time. I thought I was telling it > where to write the > boot script. > > Once I was booted with my new disk in /dev/sda I just issued > > ybin -v > > and then it booted quite happily with just that one disk present. It would > probably have > worked first time if I'd not used ybin at all, I think that I had already > done what was necessary. > > Thanks for your help. > > Peter > > > > > > > "Joseph E. Sacco, PhD" <[EMAIL PROTECTED]> on 06/12/2005 17:06:17 > > Please respond to Yellow Dog Linux General Discussion List > <[email protected]> > > > > To: Yellow Dog Linux General Discussion List > <[email protected]> > cc: (bcc: Peter G Harper/Magnox/Berkeley/BNFL) > Fax to: > Subject: Re: [ydl-gen] Creating a clone boot disk > > > (Embedded image moved to file: pic28213.jpg) > Peter, > > Did you edit the yaboot configuration file, > > /etc/yaboot.conf > > on the clone disk, to reflect the partition names used on the clone > disk? > > -Joseph > > ======================================================================================= > > On Tue, 2005-12-06 at 16:43 +0000, [EMAIL PROTECTED] wrote: > > I have got a system disk which is starting to fail and I am trying to > > create > > a clone of it so that I don't have to start from scratch with installing > > from the CDs > > and applying all the patches and configuration that I need. > > > > I have created the partition table using pdisk and restored all the files > > onto > > the corresponding partitions and the partitions have the correct > > filesystems > > on ie sda2 is HFS, sda3 and sda5 are ext3. > > > > I used ybin to 'bless' the boot directory, > > > > ybin -v -b /dev/sdb2 (new disk was installed in the second slot) > > > > When I try to boot from this disk, it gets past the first stage but then > > failed when it tried to load the second stage bootstrap. > > > > Does anyone know what I need to do to get it to load the second stage? > > > > I really don't want to have to recompile my kernel etc all over agin if I > > don't have to. > > > > Thanks, > > > > Peter > > > > The information contained in this email may be commercially sensitive > and/or legally privileged. It is intended solely for the person(s) to whom > it is addressed. If you are not a named recipient, you are on notice of its > status. Please notify the sender immediately by reply e-mail and then > delete this message from your system. You must not disclose it to any other > person, copy or distribute it or use it for any purpose. > > > > _______________________________________________ > > yellowdog-general mailing list > > [email protected] > > http://lists.terrasoftsolutions.com/mailman/listinfo/yellowdog-general > > HINT: to Google archives, try '<keywords> site:terrasoftsolutions.com' > -- > joseph_sacco [at] comcast [dot] net > > _______________________________________________ > yellowdog-general mailing list > [email protected] > http://lists.terrasoftsolutions.com/mailman/listinfo/yellowdog-general > HINT: to Google archives, try '<keywords> site:terrasoftsolutions.com' > > The information contained in this email may be commercially sensitive and/or > legally privileged. It is intended solely for the person(s) to whom it is > addressed. If you are not a named recipient, you are on notice of its status. > Please notify the sender immediately by reply e-mail and then delete this > message from your system. You must not disclose it to any other person, copy > or distribute it or use it for any purpose. > _______________________________________________ > yellowdog-general mailing list > [email protected] > http://lists.terrasoftsolutions.com/mailman/listinfo/yellowdog-general > HINT: to Google archives, try '<keywords> site:terrasoftsolutions.com' -- joseph_sacco [at] comcast [dot] net _______________________________________________ yellowdog-general mailing list [email protected] http://lists.terrasoftsolutions.com/mailman/listinfo/yellowdog-general HINT: to Google archives, try '<keywords> site:terrasoftsolutions.com'
