Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Thanks yancek. Can't connect to wifi when booted from the usb stick, back on windows. Yes, I used esc key then f9, it showed an Ubuntu boot manager, I chose that and exited. When I did sudo mkdir /mnt/efi I think it did make the directory, but I messed up the second command so badly that I exited and started again and got what's in the screenshot.
I can't see any mention of Ubuntu or Mint in boot options. Secure boot and fast boot are disabled.
It appears to me that the install was not written to the disk. If that is correct how can it be fixed?
OOps, the screenshot was saved in Linux, and I can't get here from there so I'll type them in from a photo on my phone.
sudo mkdir mnt/efi
mkdir: cannot create directory 'mnt/efi': no such file or directory
sudo mount /dev/sda1 mount/efi
mount: mnt/efi mount point does not exist.
/mnt/efi
bash: /mnt/efi: Is a directory
I did make some more screenshots but I didn't take pictures of them I'd have to go back to Linux to get them, that would take a while because I'm a very poor typist.
yancek, Sorry I didn't find your post when I checked earlier before falling asleep for a long nap. Did I do an efi install? I don't know.
colorpurple21859, Thanks for that, I'd forgotten it. How would I check the Linux partitions to see what is there?
Sorry to be so dense about this, all but one of my previous installs have just used the whole disk. The one exception ended up wiping Windows, so I'm a bit skittish about it.
On the old computer now, colorpurple21859, I ran thru that list of commands on the new computer, most returned no such file or directory. I have screenshots. I'm going to take time out and try to setup wifi when booted to usb, having a bit of difficulty with that, hope I can send screenshots if I get wifi going.
Back on windows, old asus froze up when I had this almost done, it's dieing. Typing from phone pictures now, no luck with wifi. Commands I typed are perseded with mint@mint:~$
ls /sys/firmware
acpi dmi efi memmap
sudo mkdir /mnt/sda6 /mnt/sda6
mount: /mnt/sda6: special device /dev/sda6 does not exist
ls mnt/usb
ls: cannot access 'mnt/usb': No such file or directory
cat /mnt/sda6/etc/fstab
cat: /nmt/sda6/etc/fstab: No such file or directory
I redid a couple that I thought I had mistyped, I think there is at lest one more, I'll go back and rerun it later.
sudo mkdir /mnt/sda6
mkdir: cannot create directory '/mnt/dev/sda6': File exists
sudo mount /dev/sda6 /mnt/sda6
mount: /mnt/sda6: special device /dev/sda6 does not exist
I'll boot back onto the usb stick, check the list of commands again, and try to correct my mistakes
Number Start End size File system name Flags
1 1049kb 290MB 373MB fat32 EFI system partition boot,esp
2 274MB 290MB 16,8MB Microsoft reserved partition msftres
3 290MB 930GB 930GB ntfs Basic data partition msftdata
4 930GB 951GB 20.6GB ext4
5 951GB 1000GB 49,4GB ext4
Model: PNY USB 2.0 FD (scsi)
Disk /dev/sdb: 32.5GB
Sector size (logical/physical):512B/512B
Partition Table: msdos
Disk Flags:
Number Start end Size Type File system Flags
1 1049kb 32.5GB 32.5GB Primary fat32 boot, lba
I hope I got it all right, I can easily overlook things. I'm getting tired and it's bedtime. I'll check back tomorrow. Dr. appointment in AM so will be away a while.
Thanks to every one of you for your help and patience.
Not knowing what the two linux partition are, change each sda6 in post #48 to either sda4 or sda5 depending on which partition you think is your root partition and see if that works.
Last edited by colorpurple21859; 02-25-2019 at 05:18 AM.
cat /mnt/sda4 /mnt/sda4
#
# Use 'blkid' to print universally unique identifier for a
# device: this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. see fstab(5)
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda4 during installation
UUID=af68ee66-8386-436f-906c-a24f7f1f332a / ext4 errors=remount-ro 0 1
#/boot/efi was on/dev/sda1 during installation
UUID=743E-7418 /boot/efi vfat umask=0077 0 1
# /home was on /dev/sda5 during installation
UUID=a20e6ae6-9274-4c8a-b55d-2f83f0d791e2 /home ext4 defaults
0 2
/swapfile none swap sw
0 0
The commands suggested in post 44 and 48 were entered incorrectly which is why you got the errors you did. You missed the beginning forward slash ( / ) on several commands and entered an incorrect command in others. Take a look at the posts again try them and type them exactly as shown.
Thanks yancek. I saw that I had missed the beginning /, I thought I had went back and corrected it, but I can make the same mistake twice and not see it, I'll get on it, changing any reference to sda6 to sda4
No return on first two commands, mkdir, and mount.
ls /mnt/usb
ls: cannot access '/mnt/usb': no such file or directoey
cat /mnt/sda4/etc/fstab
# /etc/fstab: static file system information.
#
# use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added or removed. See fstab(5).
#
# <file system> <mount point> <type> <option> <dump> <pass>
# /was on sda4 during installation
UUID=af68ee66-8386-436f-906c-a24f7f1f332a /
-ro 0 1
# boot/efi was on /dev/sda1 during installation
UUID 743e'7418 /boot efi vfat umask=0077-2f83f0https://www.linuxquestions.org/questions/linux-software-2/linux-mint-18-3-fails-to-install-on-hp-laptop-4175648546/page4.htmld791e2
# /home waas on /dev/sda5 during installation
UUID=a20e6ae6-9274-4c8a-b55d
I brushed the keypad and got lost, will have to redo this and read the link posted by BW-userx after i get back from appointment. I think it was the same as the return from the previous cat command. Got to go now.
ls /mnt/usb
ls: cannot access 'mnt/usb': no such file or directory
cat /mnt/sda4/etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a device;
# that works even if disks are added and removed. see fstab(5).
#
# <file system> <Mount point> <type> <options> <dump> <pass>
# /was on /dev/sda4 during installation
UUID=af68ee66-8386-436f-906c-a24f7f1f332a / ext4 errors=remount-ro 0 1
# /boot/efiwas on /dev/sda1 during installation
UUID=743E-7418 /boot/efi vfat umask=0077 0 1
# /home was on /dev/sda5 during installation
UUID=a20e6ae6-9274-4c8a-b55d-2f83f0d791e2 /home ext4 defaults 0 2
/swapfile none 0 0
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.