Copied my root partition from btrfs to ext3, but the boot process still tries btrfs

openSuSE 12.1

My root partition (which was btrfs) became 100% full for no good reason, there were no unusual large files on the root partition.
Unfortunately, this situation led to the system not being able to complete a system update (through YaST). Eventually, I couldn’t
even login as root through a terminal (I could type in ‘root’ during login, but this threw up an error. Perhaps there was no space left on the root partition).

Using the Rescue CD, I copied the root partition to another partition (this time ext3).
I changed /etc/fstab so that the root partition was pointing to the new partition, and also defined as ext3.

I changed GRUB to use the new partition as the root partition root=/dev/sdd1. By the way, my /boot partition is a separate ext3 partition.

Every time I try to boot the ext3 partition, the boot log shows an attempt to first fsck.btrfs the root partition (which succeeds, strangely),
and then to mount -t btrfs (which fails, and stops the boot process).

I am able to mount -t ext3 /dev/sdd1 /root, and then press Ctrl-D to successfully continue the boot process.

I re-ran YaST boot-loader inside the newly booted system (with ext3 as a root partition). Everything looks okay, but the same error occurs
during boot. I also tried to issue a manual ‘noresume’ in kernel options (using GRUB shell, after the ‘ESC-aping’ the GRUB boot loader).

Any solutions to this problem? I’m stumped!

David.

On 2012-06-03 15:16, vkelim wrote:
>
> openSuSE 12.1
>
> My root partition (which was btrfs) became 100% full for no good
> reason, there were no unusual large files on the root partition.

Feature. You have to purge btrfs periodically, old versions of files are
stored.

> I changed GRUB to use the new partition as the root partition
> root=/dev/sdd1. By the way, my /boot partition is a separate ext3
> partition.
>
> Every time I try to boot the ext3 partition, the boot log shows an
> attempt to first fsck.btrfs the root partition (which succeeds,
> strangely),
> and then to mount -t btrfs (which fails, and stops the boot process).

Yep. You have to recreate the initrd, it contains a copy of the old fstab.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)