On 8/1/25 18:02, Nicolas George wrote:
Charles Curley (HE12025-08-01):
Do you want to mount /root r-o? /etc? I think not.
Separating the things that move a lot and the things that are stable is
still a good idea.
For what the OP is up to, mounting the old file systems (on the HD)
until he is satisfied he has everything working right is probably a
good idea.
No, it is an excellent occasion to rework the partitioning, wasting is
not a good idea.
Also, the partitions will probably not fit the new disk exactly, leaving
a useless clump with an awkward at the end.
I have made these partitions:
Device Start End Sectors Size Type
/dev/sda1 2048 1953792 1951745 953M Linux filesystem
/dev/sda2 1955840 6150144 4194305 2G Linux filesystem
/dev/sda3 6152192 48095232 41943041 20G Linux filesystem
/dev/sda4 48097280 48195583 98304 48M Linux swap
/dev/sda5 48195584 67069952 18874369 9G Linux filesystem
/dev/sda6 67072000 69023744 1951745 953M BIOS boot
Grub installs without error on that drive, but drops me into grub's
command line when I boot from it. Then when I do
boot (hd0,gptN)
for N in 1 or 2 (/boot or /root) it tells me that I have to pick a
kernel first. I have these files:
eben@cerberus:~$ sudo mount -o ro /dev/sda2 /mnt/temp
eben@cerberus:~$ sudo mount -o ro /dev/sda1 /mnt/temp/boot
eben@cerberus:~$ ls -l /mnt/temp/vm*
0 lrwxrwxrwx 1 root root 27 May 25 13:01 /mnt/temp/vmlinuz ->
boot/vmlinuz-6.1.0-37-amd64
0 lrwxrwxrwx 1 root root 27 May 25 13:01 /mnt/temp/vmlinuz.old ->
boot/vmlinuz-6.1.0-35-amd64
eben@cerberus:~$ ls -l /mnt/temp/boot/v*
7.9M -rw-r--r-- 1 root root 7.9M Apr 10 15:32
/mnt/temp/boot/vmlinuz-6.1.0-33-amd64
7.9M -rw-r--r-- 1 root root 7.9M Apr 25 15:51
/mnt/temp/boot/vmlinuz-6.1.0-34-amd64
7.9M -rw-r--r-- 1 root root 7.9M May 7 11:10
/mnt/temp/boot/vmlinuz-6.1.0-35-amd64
7.9M -rw-r--r-- 1 root root 7.9M May 22 14:32
/mnt/temp/boot/vmlinuz-6.1.0-37-amd64
What does it want from me?
The HD (currently sdc) boots fine. The BIOS (or whatever) doesn't offer
it as a boot device, but I can do F12 at POST = "select boot device",
pick it, and it works.