From glenn at ervin.email Thu Dec 8 22:15:19 2022 From: glenn at ervin.email (K0LNY_Glenn) Date: Thu, 8 Dec 2022 16:15:19 -0600 Subject: accessing a Linux OS on external drive Message-ID: <000f01d90b52$8faacea0$8bffa8c0@Win7VM> Hi, I never see any messages come through this list, so I hope I'm not the only one on this list. I have a question on accessing a USB drive in Ubuntu running in a VM. So I have an old Asus with only a 4GB internal HD, and I installed Debian 11.5 on an attached USB drive, because I could not get a desktop installed onto 4GB. It runs good, the desktop is a bit slow with firefox, but other than that, it does what I need. I just received a fast 32 GB SD card, and I am wanting to use DD to copy the USB partitions over to the SD card. The USB drive is a 64 GB USB stick, which I partitioned into two 32 GB partitions, and used Rufus to put DVD 1 of Debian onto, then I booted to that, and installed Debian onto the other 32 GB partition of the USB stick, and as mentioned, works okay, but the SD card would be faster and less awkward. But when I boot to the Ubuntu and plug in the drives, it sees the SD card, but not the USB partitions. I did sudo lsblk and it only shows /dev/sda and its partitions, and /sdb and /sdb1, which is the partition on the SD card. I've tried sudo mount -a but that didn't change things. And disks in the desktop menus only show the two VM drives, and the SD card. Computer in places is the same. I am wondering what I'm doing wrong, or not doing. I don't think there is a way to copy the partitions on the USB drive while they are in use, that is why I'm trying this in Ubuntu. Thanks. Glenn From krecoun at gmail.com Fri Dec 9 07:11:28 2022 From: krecoun at gmail.com (=?UTF-8?B?Vm9qdMSbY2ggUG9sw6HFoWVr?=) Date: Fri, 9 Dec 2022 08:11:28 +0100 Subject: accessing a Linux OS on external drive In-Reply-To: <000f01d90b52$8faacea0$8bffa8c0@Win7VM> References: <000f01d90b52$8faacea0$8bffa8c0@Win7VM> Message-ID: <6cf69070-65e8-37a4-4d88-bc7f27bedbea@gmail.com> Hello, I have questions: 1. how is the SD card reader conected to the computer? Is it internal one? 2. What virtualization software are you using to run the Ubuntu VM? 3. do I understand correctly that you run the Ubuntu VM on a different machine than the Asus with 4 GiB of space? Vojta Dne 08. 12. 22 v 23:15 K0LNY_Glenn napsal(a): > Hi, > I never see any messages come through this list, so I hope I'm not the only > one on this list. > I have a question on accessing a USB drive in Ubuntu running in a VM. > So I have an old Asus with only a 4GB internal HD, and I installed Debian > 11.5 on an attached USB drive, because I could not get a desktop installed > onto 4GB. > It runs good, the desktop is a bit slow with firefox, but other than that, > it does what I need. > I just received a fast 32 GB SD card, and I am wanting to use DD to copy the > USB partitions over to the SD card. > The USB drive is a 64 GB USB stick, which I partitioned into two 32 GB > partitions, and used Rufus to put DVD 1 of Debian onto, then I booted to > that, and installed Debian onto the other 32 GB partition of the USB stick, > and as mentioned, works okay, but the SD card would be faster and less > awkward. > But when I boot to the Ubuntu and plug in the drives, it sees the SD card, > but not the USB partitions. > I did > sudo lsblk > and it only shows /dev/sda and its partitions, and /sdb and /sdb1, which is > the partition on the SD card. > I've tried > sudo mount -a > but that didn't change things. > And disks in the desktop menus only show the two VM drives, and the SD card. > Computer in places is the same. > I am wondering what I'm doing wrong, or not doing. > I don't think there is a way to copy the partitions on the USB drive while > they are in use, that is why I'm trying this in Ubuntu. > Thanks. > > Glenn > >