[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: From x86 to x86-64



pierpaolo:
> On Fri, Jan 30, 2009 at 6:54 PM, Jochen Schulz <ml@well-adjusted.de> wrote:
> 
>> ...you can use debootstrap to reinstall without using the installer and
>> without repartitioning your hard drive. You just need a swap partition
>> large enough to hold the base system.
> 
> How is this supposed to work, please?

The basic idea:

swapoff /dev/sdX
mkfs.ext3 /dev/sdX
mount /dev/sdX /somewhere
debootstrap /somewhere
chroot /somewhere
grub-install /dev/sdX
exit
modify menu.lst to use /dev/sdX as root device
reboot
copy necessary system configuration from old-root-device
mkfs.ext3 /dev/old-root-device
clone new system to old-root-device
reboot
mkswap /dev/sdX
swapon /dev/sdX

There are moe specific HOWTOs about the process on the net.

J.
-- 
Television advertisements are the apothesis of twentieth century culture.
[Agree]   [Disagree]
                 <http://www.slowlydownward.com/NODATA/data_enter2.html>

Attachment: signature.asc
Description: Digital signature


Reply to: