Linux installation finished but needs USB boot to run

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read how to get help
Post Reply
danasolomon
Level 1
Level 1
Posts: 5
Joined: Sat Sep 07, 2019 6:19 pm

Linux installation finished but needs USB boot to run

Post by danasolomon » Sat Sep 07, 2019 6:28 pm

Hi,

I finished the Linux installation on my Dell laptop. Everything works fine, but the installation isn't there when I reboot. I know that Linux instructions say this:

"The computer will then start to shut down and ask you to remove the USB disk (or DVD). Upon reboot, your computer should show you a boot menu or start your newly installed Linux Mint operating system."

1. it does not ask me to remove the USB and
2. after the reset it runs linux from the flash drive only and is not installed.

I have 32 GB to work with, should be enough right?

Does anyone know what's going wrong here? I cannot run Linux without keeping the USB boot in the computer. And no settings are saved when I restart.

Thank you,
Dana

athi
Level 6
Level 6
Posts: 1300
Joined: Sun Mar 30, 2014 10:15 am
Location: USA

Re: Linux installation finished but needs USB boot to run

Post by athi » Sat Sep 07, 2019 6:42 pm

Is this a Mint only installation or a dual boot with Windows?

Also, please run below command in Terminal (ctrl+alt+t) to output system information and post results. This information will allow us to better assist you.

Code: Select all

inxi -Fxz

Code: Select all

sudo parted -l

Code: Select all

mokutil --sb-state
Mint Mate 19.1. Main rig is HP 800G2 I5 6500 16GB ram, 120GB boot drive, 2x3TB, 1x4TB data drives. Oldest rig is Mate 18.3 on Dell D620 with 32bits core duo.

danasolomon
Level 1
Level 1
Posts: 5
Joined: Sat Sep 07, 2019 6:19 pm

Re: Linux installation finished but needs USB boot to run

Post by danasolomon » Mon Sep 09, 2019 10:42 pm

Hi, I wiped away the Windows 10 installation and started fresh. Here's the info and thank you for looking at it and helping me.

System: Host: mint Kernel: 4.15.0-20-generic x86_64 bits: 64 gcc: 7.3.0
Desktop: Cinnamon 3.8.6 (Gtk 3.22.30-1ubuntu1)
Distro: Linux Mint 19 Tara
Machine: Device: portable System: Dell product: Inspiron 11-3162 v: 2.4.0 serial: N/A
Mobo: Dell model: 049C87 v: A00 serial: N/A
UEFI [Legacy]: Dell v: 2.4.0 date: 01/31/2018
Battery BAT0: charge: 18.6 Wh 81.8% condition: 22.8/32.0 Wh (71%)
model: Samsung SD DELL PGYK56B status: Discharging
CPU: Dual core Intel Celeron N3060 (-MCP-)
arch: Airmont rev.4 cache: 1024 KB
flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 6400
clock speeds: max: 2480 MHz 1: 2479 MHz 2: 2223 MHz
Graphics: Card: Intel Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Integrated Graphics Controller
bus-ID: 00:02.0
Display Server: x11 (X.Org 1.19.6 )
drivers: modesetting (unloaded: fbdev,vesa)
Resolution: 1366x768@60.00hz
OpenGL: renderer: Mesa DRI Intel HD Graphics 400 (Braswell)
version: 4.5 Mesa 18.0.0-rc5 Direct Render: Yes
Audio: Card Intel Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series High Def. Audio Controller
driver: snd_hda_intel bus-ID: 00:1b.0
Sound: Advanced Linux Sound Architecture v: k4.15.0-20-generic
Network: Card: Intel Wireless 3160 driver: iwlwifi bus-ID: 01:00.0
IF: wlp1s0 state: down mac: <filter>
Drives: HDD Total Size: 8.1GB (Used Error!)
ID-1: /dev/mmcblk0 model: N/A size: 31.3GB
ID-2: USB /dev/sda model: Flash_Disk size: 8.1GB temp: 0C
Partition: ID-1: / size: 1.9G used: 317M (17%) fs: overlay dev: N/A
RAID: No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors: System Temperatures: cpu: 26.0C mobo: N/A
Fan Speeds (in rpm): cpu: N/A
Info: Processes: 181 Uptime: 6:30 Memory: 1984.8/3843.9MB
Init: systemd runlevel: 5 Gcc sys: 7.3.0
Client: Shell (bash 4.4.191) inxi: 2.3.56


Usage: parted [-hlmsv] [-a<align>] [DEVICE [COMMAND [PARAMETERS]]…]


EFI variables are not supported on this system

athi
Level 6
Level 6
Posts: 1300
Joined: Sun Mar 30, 2014 10:15 am
Location: USA

Re: Linux installation finished but needs USB boot to run

Post by athi » Mon Sep 09, 2019 11:14 pm

That is a legacy BIOS only Inspiron 11-3162 with 2GB ram and 32GB eMMC drive, which should be a simple Mint single boot installation.
Drives: HDD Total Size: 8.1GB (Used Error!)
ID-1: /dev/mmcblk0 model: N/A size: 31.3GB
ID-2: USB /dev/sda model: Flash_Disk size: 8.1GB temp: 0C
Partition: ID-1: / size: 1.9G used: 317M (17%) fs: overlay dev: N/A
From your first post, you can boot into Mint live USB and started the installation but was unable to complete the installation. Looks like something happened during the installation and Mint created a 2GB partition and never fully installed (317MB used in a 1.9GB partition). Please do the following:
1) Check installation medial: Boot into Mint live USB and use the Integrity Check option to check for error on the installation media. If failed, re-download ISO and create a new Mint live USB.
2) Wipe drive and create a new partition table: After successful check of installation media, go to Menu and search for GParted. Start GParted and select View-Device Information to open the device information window. Then select Device-Create Partition Table and select msdos from pull down menu and click Apply. Then click the check mark icon in the toolbar to Apply All Operation. Device Information window should now show msdos partition table and no partition in main window. Close GParted.
3) Start installation and use the "Erase disk..." option. Mint installer will create the required partition for Mint installation.
Mint Mate 19.1. Main rig is HP 800G2 I5 6500 16GB ram, 120GB boot drive, 2x3TB, 1x4TB data drives. Oldest rig is Mate 18.3 on Dell D620 with 32bits core duo.

danasolomon
Level 1
Level 1
Posts: 5
Joined: Sat Sep 07, 2019 6:19 pm

Re: Linux installation finished but needs USB boot to run

Post by danasolomon » Tue Sep 10, 2019 12:35 pm

Hi,

I bought a Linux Mint USB bootable drive from Amazon.com. When I pull out the flash drive, the operating system stops working. And it won't let me into the files to put the ISO into the Home--ISO folder I created.

I have downloaded another ISO onto another flash drive and tried to put that ISO into the Home--ISO folder and it says that there is not enough space to transfer that file and to delete files. But I don't know what to delete if Linux is operating entirely from the USB drive that I bought online.

What do I do next?

Thank you.

athi
Level 6
Level 6
Posts: 1300
Joined: Sun Mar 30, 2014 10:15 am
Location: USA

Re: Linux installation finished but needs USB boot to run

Post by athi » Tue Sep 10, 2019 12:39 pm

Is that a Mint live USB or a USB with Mint installed on it? Please post url of item from the Amazon website.
Mint Mate 19.1. Main rig is HP 800G2 I5 6500 16GB ram, 120GB boot drive, 2x3TB, 1x4TB data drives. Oldest rig is Mate 18.3 on Dell D620 with 32bits core duo.

danasolomon
Level 1
Level 1
Posts: 5
Joined: Sat Sep 07, 2019 6:19 pm

Re: Linux installation finished but needs USB boot to run

Post by danasolomon » Tue Sep 10, 2019 1:48 pm

I just created a new ISO from a Linux Mint download and used Unetbootin. I booted the flash drive on the Dell and there is the same problem with this installation. Linux works as long as the flash drive is plugged in. I went through the installation process using the new ISO and it won't stay for some reason.

athi
Level 6
Level 6
Posts: 1300
Joined: Sun Mar 30, 2014 10:15 am
Location: USA

Re: Linux installation finished but needs USB boot to run

Post by athi » Tue Sep 10, 2019 1:57 pm

Did you create a new partition table before installation? Please boot into Mint live USB and run below command in Terminal to output partition information:

Code: Select all

sudo parted -l
Mint Mate 19.1. Main rig is HP 800G2 I5 6500 16GB ram, 120GB boot drive, 2x3TB, 1x4TB data drives. Oldest rig is Mate 18.3 on Dell D620 with 32bits core duo.

athi
Level 6
Level 6
Posts: 1300
Joined: Sun Mar 30, 2014 10:15 am
Location: USA

Re: Linux installation finished but needs USB boot to run

Post by athi » Tue Sep 10, 2019 2:15 pm

Found this post about installing Linux on your system, read last post: viewtopic.php?t=257211

Should have been more alert, you stated that it came with Win10 and I should have realized that this laptop has UEFI capability. Looks like you changed to legacy BIOS mode before Mint installation and it seems like the laptop does not like legacy BIOS Mint installation. If you have created a new MSDOS partition table, please rerun GParted and create a new GPT partition table before Mint installation.

Edit: another post with more details viewtopic.php?t=256446
Mint Mate 19.1. Main rig is HP 800G2 I5 6500 16GB ram, 120GB boot drive, 2x3TB, 1x4TB data drives. Oldest rig is Mate 18.3 on Dell D620 with 32bits core duo.

danasolomon
Level 1
Level 1
Posts: 5
Joined: Sat Sep 07, 2019 6:19 pm

Re: Linux installation finished but needs USB boot to run

Post by danasolomon » Tue Sep 10, 2019 2:19 pm

I'm new to Linux. All I know how to do is change the boot settings on the Dell and boot the Linux flash drive. I'm not understanding what you mean by "If you have created a new MSDOS partition table, please rerun GParted and create a new GPT partition table before Mint installation."

Thank you

pbear
Level 7
Level 7
Posts: 1848
Joined: Wed Jun 21, 2017 12:25 pm
Location: San Francisco

Re: Linux installation finished but needs USB boot to run

Post by pbear » Tue Sep 10, 2019 2:22 pm

danasolomon wrote:
Sat Sep 07, 2019 6:28 pm
"The computer will then start to shut down and ask you to remove the USB disk (or DVD). Upon reboot, your computer should show you a boot menu or start your newly installed Linux Mint operating system."

1. it does not ask me to remove the USB and
2. after the reset it runs linux from the flash drive only and is not installed.

I have 32 GB to work with, should be enough right?
Before you get much further into this, let's talk about question #2. The answer is, "Not really." That is, it's big enough to install but not big enough to do much. You'll have to be selective about installing apps. You'll have to be very careful about managing Timeshift snapshots (or do without, which isn't a good plan for a newbie). All things considered, you'd be much better off buying an old Win7 laptop (they're going for about $100 around here). Or get a USB hard drive and install to that (how-to here). Or go ahead with this installation, but look at it as a test box only.

As for the first question, I never rely on the live session to unmount the live USB after installation. Instead, I do a regular shutdown, then remove it myself. Understand, if the live ISO is still attached, it's going to boot even if the installation was successful.
Time flies like an arrow. Fruit flies like a banana.
If your problem has been solved, please edit the thread title.

Post Reply

Return to “Installation & Boot”