Re: The Fine Art of Making a Bootable Drive; more
Bob Weber a écrit :
>
> A second way is to start sysrescuecd normally and mount the root file system to
> a directory. Make a directory say x and mount the root filesystem on it. Run
> these three commands: "mount --bind /dev x/dev" and "mount --bind /proc
> x/proc" and "mount --bind /sys x/sys". Then run "chroot x /bin/bash" to get a
> command prompt running off of your root file system with the dev, proc and sys
> populated correctly. Now you can run the grub install command and hopefully get
> a bootable drive.
One last step may be necessary : update the UUIDs in /etc/fstab and
/boot/grub/grub.cfg, as you created new volumes with new UUIDs instead
of cloning them. Or alternatively, change the UUIDs on the new disk with
tune2fs, mkswap... to match the ones on the old disk. Otherwise you'll
be stuck at grub's menu.
Reply to: