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

Re: From x86 to x86-64



On 01/31/2009 02:57 AM, Jochen Schulz wrote:
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

cp?

reboot
mkswap /dev/sdX
swapon /dev/sdX

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

--
Ron Johnson, Jr.
Jefferson LA  USA

"I am not surprised, for we live long and are celebrated poopers."


Reply to: