:: [DNG] Problem found. I've been stu…
Top Page
Delete this message
Reply to this message
Author: Hendrik Boom
Date:  
To: dng
Old-Topics: [DNG] booting from a different drive; trouble with volume groups.
Subject: [DNG] Problem found. I've been stupid.
I have been stupid.

The things you don't know aren't what will kill you.
It's the things you know for damn sure that aint so.

It turns out I needed VG1 because it contains the root directory /
And it also turns out that VG1 is on the defective RAID1 that's on the drive I'm removing.

I'll have to move the root partition to VG-3T, which *is* on the drive I'm keeping.

So sorry to bother you all with something so obvious in retrospect.

-- hendrik

On Wed, May 10, 2023 at 02:10:01PM -0400, Hendrik Boom wrote:
> Do I have an old, small drive that I boot from, and a big drive that my entire system is on.
> I'd like to get rid of the old, small drive that no longer has any real function except booting.
> when I boot, the old, small drive ends up being /dev/sdb, and the big one is /dev/sda.
> So I did
>     grub-install /ev/sda
> It seemed to go well.
> But when I disconnected the old, small drive, and tried booting,
> it did manage to start bootine, but got stuck in the initramfs conplaining that it could not fine volume group VG1.
> Now that's the volume group that my entire system is on, except for /boot.  It's kind of essential.
> And VG1 is on dev/md1, a currently defective RAID1 whose one good partition is /dev/sda2.
> Npw the boot process recognised /dev/md1 properly, but coule not find VG1,
> so initramfs tossed me into busybox so as to fix the problem.

>
> The RAID assembles properly, presumably after starting the initramfs script, but not VG1.
>
> I might add that everything is OK when I put the old, small drive back and boot from it. That old small drive is recognised as /dev/sdb, by the way.
>
> So something is different depending on where it gets grub from.
>
> What should I look into?
>
> -- hendrik
> _______________________________________________
> Dng mailing list
> Dng@???
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng