this post was submitted on 29 Aug 2023
34 points (97.2% liked)

Linux

47133 readers
2330 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

Hello Everyone,

I have a Windows laptop that I want to run Linux on. Due to the drivers being encrypted (on install, from the factory), I can't repartition the drive and dual boot.

My plan is to run a live install from a USB stick. I've tried a live Debian ISO, and it works fine for my purposes (WebDev).

However, the live install isn't persistent, and doesn't use all the space on the 64gb usb stick for storage.

There are tutorials online that show how to make a live install while already running Linux, but for some reason, the live install doesn't see anything plugged into the other usb slots.

So, my question is, how do I get a persistent, usable version of Debian on a USB stick from Windows?

Thanks,

-BX

Edit: Laptop is a HP Envy, with touchscreen. The reason for keeping windows is that (as of yet) I have not found a way to use the touch-screen/pen combo with Linux. Being able to boot off USB will allow me to test solutions without losing what works

you are viewing a single comment's thread
view the rest of the comments
[–] BlackXanthus 1 points 1 year ago (1 children)

It's a HP Envy.

TBH, I hadn't realised it had also chosen to encrypt the inserted SD card when I added it.

I would install from a USB to another USB, but the Debian Live USB stick doesn't recognise anything else that I plug into the laptop, so I can't go USB to USB, hence the need to use windows.

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago)

I don't know anything about the debian installer, last time I did this I used arch, which is a lot more flexible with partitioning. Is there a manual partitioning option somewhere that will show the USB drive you want to install to?

For what it's worth, I don't recommend booting from a USB. The performance isn't great, and there are reliability issues. On my USB, if I bump the drive, it can disconnect and cause the root partition to become unmounted, and it doesn't recover from there. If you can backup your files, wipe the internal disk and then re-setup windows and Linux without the encryption that would definitely be the better option in the long run. Especially if you intend on doing important work on the machine.

Another option is to try out unetbootin. It can create liveusbs with persistence, but I haven't ever tried it. It may, or may not work with debian (Ubuntu may have better support, so worth trying both if you can live with Ubuntu).