Installing an OS over the existing OS

Aaron Rainbolt arraybolt3 at ubuntu.com
Thu Feb 16 04:42:25 UTC 2023


On 2/15/23 22:39, Phil wrote:
>
> On 16/2/23 14:31, Aaron Rainbolt wrote:
>>
>> On 2/15/23 22:28, Phil wrote:
>>>
>>> On 16/2/23 14:21, Aaron Rainbolt wrote:
>>>>
>>>> On 2/15/23 22:18, Phil wrote:
>>> That's really weird - you did mount the USB drive partition to /mnt 
>>> right? I would expect DebianISO to be read-only, but not /mnt.
>>>
>>> Definitely read only and owner is phil.
>>>
>> That's extremely odd. Could you retry with a different USB? It seems 
>> unusual, but perhaps the USB drive just now reached the end of its 
>> lifespan and went into read-only mode to protect any data on the 
>> drive (which, ironically, we just deleted :P). If a USB drive is 
>> mounting as read-only and can't be remounted as read/write, that's 
>> usually a dead drive.
>
>
> Could there be a problem here?
>
> $ sudo fdisk /dev/sdb
>
> Welcome to fdisk (util-linux 2.38).
> Changes will remain in memory only, until you decide to write them.
> Be careful before using the write command.
>
> This disk is currently in use - repartitioning is probably a bad idea.
> It's recommended to umount all file systems, and swapoff all swap
> partitions on this disk.
Hmm, yeah possibly. Unplug the USB drive, wait a bit, then plug it back 
in. Then unmount all the partitions on it first, before running fdisk. 
(You can do that with "sudo umount /dev/sdb1", "sudo umount /dev/sdb2", 
etc. until all the partitions are unmounted. There's probably going to 
only be one partition on it.)
>
>
> Command (m for help): o
>
> Created a new DOS disklabel with disk identifier 0xfdd4983e.
>
> Command (m for help): n
> Partition type
>    p   primary (0 primary, 0 extended, 4 free)
>    e   extended (container for logical partitions)
> Select (default p):
>
> Using default response p.
> Partition number (1-4, default 1):
> First sector (2048-31457279, default 2048):
> Last sector, +/-sectors or +/-size{K,M,G,T,P} (2048-31457279, default 
> 31457279):
>
> Created a new partition 1 of type 'Linux' and of size 15 GiB.
>
> Command (m for help):
>
-- 
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/f1bd137b/attachment.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/f1bd137b/attachment.sig>


More information about the ubuntu-users mailing list