Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #235807
| From | "Martin McCormick" <martin.m@suddenlink.net> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Boot Repair |
| Date | 2021-06-02 20:00 +0200 |
| Message-ID | <ClDjP-7tK-3@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
Is there any free utility that can run in Linux which helps one rebuild a corrupted boot configuration? I have a disk which is currently out of it's usual place as the boot drive for a debian system. The past two times that Buster updated grub, the drive became unbootable after the update. The drive, itself appears to be perfectly good and I think the problem which makes the update kill the drive is related to a dd copy I made some years ago of one drive to another so most of what is there is normal. After the second killing of the drive, I started to determine what is misguiding update-initramfs as grub-install seems to produce a grub.cfg file that is looking for all the right UUID's but when the system boots, grub now fails by trying to find a UUID that must have belonged to a now deceased system as it no longer appears in the fstab of either the newly-dead system or another system which is alive and well and being used to try to revive the injured drive. Everything needed to produce a valid boot is there if only I can run something that will reconstitude the boot image so that it looks for the right UUID's. I do remember seeing this message as the update ripped through the new grub: update-initramfs: Generating /boot/initrd.img-4.19.0-5-686-pae W: initramfs-tools configuration sets RESUME=UUID=6f6f4373-45a3-4c16-97b4-f62613 fe6d3b W: but no matching swap device is available. That UUID should start with a 3, not a 6 as the blkid for /swap is what should be there. I am not totally sure where tthe UUID that starts with 6f6f comes from but that's also the UUID one sees when grub crashes and burns on liftoff when trying to boot from that drive. Martin
Back to linux.debian.user | Previous | Next — Next in thread | Find similar | Unroll thread
Boot Repair "Martin McCormick" <martin.m@suddenlink.net> - 2021-06-02 20:00 +0200
Re: Boot Repair Weaver <weaver@riseup.net> - 2021-06-02 20:40 +0200
Re: Boot Repair "Martin McCormick" <martin.m@suddenlink.net> - 2021-06-02 22:10 +0200
Re: Boot Repair Weaver <weaver@riseup.net> - 2021-06-02 22:30 +0200
Re: Boot Repair "Martin McCormick" <martin.m@suddenlink.net> - 2021-06-03 05:10 +0200
Re: Boot Repair Weaver <weaver@riseup.net> - 2021-06-03 05:30 +0200
Re: Boot Repair "Martin McCormick" <martin.m@suddenlink.net> - 2021-06-03 19:10 +0200
Re: Boot Repair Dan Ritter <dsr@randomstring.org> - 2021-06-03 20:10 +0200
Re: Boot Repair. Still Going Round and Round. "Martin McCormick" <martin.m@suddenlink.net> - 2021-06-04 19:50 +0200
csiph-web