Installing an OS over the existing OS

Aaron Rainbolt arraybolt3 at ubuntu.com
Thu Feb 16 04:59:12 UTC 2023


On 2/15/23 22:56, Phil wrote:
>
> On 16/2/23 14:42, Aaron Rainbolt wrote:
>
> OK, I think I'm almost there.
>
> sudo grub-install --boot-directory /mnt/boot /dev/sdb
> Installing for i386-pc platform.
> grub-install: warning: File system `ext2' doesn't support embedding.
> grub-install: error: embedding is not possible, but this is required 
> for cross-disk install.
>
You probably ran `sudo mkfs.ext4 /dev/sdb`, not `sudo mkfs.ext4 
/dev/sdb1`. Which will nuke the partition table and make a filesystem on 
the whole drive. You'll probably have to start from scratch with 
reformatting the drive, sadly. The drive should partitioned and have the 
bootloader installed onto it, the partition should be formatted and have 
the ISO contents copied to it.

-- 
Aaron Rainbolt
Lubuntu Developer
https://github.com/ArrayBolt3
https://launchpad.net/~arraybolt3
@arraybolt3:lubuntu.me on Matrix, arraybolt3 on irc.libera.chat

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0x6169B9B4248C0464.asc
Type: application/pgp-keys
Size: 4853 bytes
Desc: OpenPGP public key
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20230215/0bba54c5/attachment-0001.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20230215/0bba54c5/attachment-0001.sig>


More information about the ubuntu-users mailing list