Mailinglist Archive: opensuse (963 mails)

< Previous Next >
Re: [opensuse] How to re-shuffle disk partitions
Felix Miata said the following on 21/04/2011 11:19 AM:

Those familiar with Grub's command interface and mkfs could easily go
the 2a route, possibly before deleting sda2, copy the content of sda4
to it, install Grub to it, adjust fstab accordingly, and reboot with
sda1 as the new /boot before proceeding to delete sda2 and sda4 to
create a new swap sda2 and LVM sda4 in the space vacated by sda2 and
sda4. Or, grow sda5 into all the space vacated by sda2 & sda4 - I
think, since I'm unfamiliar with LVM niceties - and leave swap at the
end of the disk. The latter should eliminate the out of disk order
messages running fdisk -l, since there would only be one primary
hosting a filesystem partition directly before the start of the
extended. You'd then have either sda1, sda2, sda3, sda5, sda6.... or
sda1, sda3, sda5, sda6.... depending on whether putting in the swap on
sda2 or not.

I created /dev/sda2 as a new swap.
Reboot. All went well.
I created /dev/sda1 as a new /boot and rsync'd the contents of the old /boot across.
Reboot. OK
BUT ... well actually it was using the old partition to boot :-/
So I deleted the old /boot

I'm HOSED

The "DVD/Repair Installed System" verifies everything but gets hung up on a 'cannot change to Target system ....'

Trying grub-install.unsupported from a live CD gives me
an error saying there is no BIOS partition.

I'm lost.
And still hosed.

--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >