LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 08-23-2022, 09:07 PM   #76
salima
Member
 
Registered: Aug 2022
Location: india
Distribution: ubuntu 22.04
Posts: 57

Original Poster
Rep: Reputation: 0

Quote:
Originally Posted by colorpurple21859 View Post
There is no --n it is -n or --bootnext
sorry, i meant to say i was using [sudo efibootmgr --bootorder] and then listing all options in the order i wanted to try, and i wondered what the -- specifically meant. i do have a lot of pages bookmarked for using command line but it is hard to learn and memorize a thing that i dont use extensively. i do like it very much, though.
 
Old 08-23-2022, 09:34 PM   #77
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,371

Rep: Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593
in a terminal:
man efibootmgr
 
1 members found this post helpful.
Old 08-24-2022, 10:45 AM   #78
salima
Member
 
Registered: Aug 2022
Location: india
Distribution: ubuntu 22.04
Posts: 57

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by colorpurple21859 View Post
in a terminal:
man efibootmgr
so in other words, a command beginning with -- is the long way, and an abbreviation of the one i was using is -o. i had noticed that different people write out command lines that are doing the same things in different ways.

this also i think answers another question i had in my mind, and that is was moving the usb live boot to the first place all that needed to be done, and the others could be left as they are.

but to get back to the problem of not being able to get them to boot, when i changed the boot sequence before so many times before i joined this forum, most of the time i didnt just reboot, i logged out and then logged back in thinking i had one chance before it went back to normal. i thought it was possible that it was necessary to logout rather than just restart, but a few times i did it that way because i already had to restart for some other reason and i left the flash plugged in. and it would have been plugged in the hub by the way, which is interesting. or am i wrong, and maybe it makes no difference whether i reboot or log out?

but what about the ubuntu flash getting stuck? should i just consider it to be bad and start all over by erasing and cleaning up the flash and then ... rather than just using the same iso, i would download the iso for 22.04.1 and do it from there.

it seems unlikely to me that i could have done something wrong in making the live boot flash so that it would only work once and then get stuck the second and third times that i was able to get it to boot. is it possible it could have gotten corrupted in some way?

i probably forgot to remove it properly when i was logging out at least once...could that have done it? that has happened to me before with pen drives that held only data and i never had any of them stop working-would a live boot flash be more susceptible?
 
Old 08-24-2022, 04:06 PM   #79
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,548

Rep: Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498
Quote:
is it possible it could have gotten corrupted in some way?
Yes, it is certainly possible the flash drive and contents could be corrupted.

Quote:
i probably forgot to remove it properly when i was logging out at least once...could that have done it?
That is one of the more common ways they get corrupted. I don't think use the flash as an iso, live boot drive would make it more susceptible to corruption. They don't last forever and the more often you use them the more likely they are to go bad, just stop working.

I'm not sure what you are referring to in the third paragraph of your last post, logout or reboot. If you use the F9 key for one time boot options, you are booting the computer and that change will be used. On the next reboot, it will back to the original boot. If you want a permanent boot change, you need the f10 key for the BIOS firmware.
 
1 members found this post helpful.
Old 08-24-2022, 10:27 PM   #80
salima
Member
 
Registered: Aug 2022
Location: india
Distribution: ubuntu 22.04
Posts: 57

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by yancek View Post
Yes, it is certainly possible the flash drive and contents could be corrupted.



That is one of the more common ways they get corrupted. I don't think use the flash as an iso, live boot drive would make it more susceptible to corruption. They don't last forever and the more often you use them the more likely they are to go bad, just stop working.

I'm not sure what you are referring to in the third paragraph of your last post, logout or reboot. If you use the F9 key for one time boot options, you are booting the computer and that change will be used. On the next reboot, it will back to the original boot. If you want a permanent boot change, you need the f10 key for the BIOS firmware.
i have only created a live boot on that flash twice now, so that is twice to write to and once to prepare to be able to. is that three times use? if so, then the lubuntu flash has had exactly the same usage, but the ubuntu flash has been tried many more times afterwards just to see if it worked when it didnt work...oh, and it has gotten stuck twice and frozen my system so that i had to poweroff without being able to first remove it safely. that would have to add to the possibility i think, wouldnt it...would that be enough to just wear it out even if it didnt cause any damage? or maybe just one time not removing it safely would be enough to corrupt it so that it wouldnt work properly any more?

as for the third paragraph in my last post, i meant what if i am using efibootmgr? in other words, after using efimgr and wanting to try and boot from the flash which i moved to first place in the boot sequence, do i restart or do i logoff or would both ways be correct?

i also know that to poweroff that way is bad for my computer. in the past, if i have a problem getting to the logout button i have been able to use tty and the shutdown command, but that was not possible in the above situation.

at the moment, according to the f10 screen the 'uefi boot order' is: os boot manager, usb flash drive/usb hard disk, then usb cd/dvd rom drive. where is the ssd drive? even on the f9 screen i dont see the ssd listed either, the list is: os boot manager, os windows boot manager, usb hard drive, boot from efi file. efibootmgr lists them all by their real names and gives descriptions, it is easy to recognize, but the firmware screen is bizarre to me (hp's fault). or is this trying to compare apples and oranges?

i like the command line better than gui...
 
Old 08-24-2022, 10:59 PM   #81
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,371

Rep: Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593
Did you try the safe graphics menu entry on the ubuntu usb?
 
1 members found this post helpful.
Old 08-25-2022, 04:50 AM   #82
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,548

Rep: Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498
The point I was making with regard to the possibility that your drive is bad is there is not guarantee how long one will work. Some users buy a drive and it is faulty and never works, you can use it few times and it goes bad or use it for years without problems. There's no real way to know how long one will work. This is one possibility with the flash drive and the problems you are having. Do you see it as an option in the BIOS when it is attached? If you boot the installed system and run sudo fdisk -l, does the drive show. If the answer to the 2 questions is yes then it is not that the flash is bad but is corrupted in some way.

You need to reboot to change the boot device. Logging out will not change it.

A method that I use to power off when the standard methods from the GUI or terminal don't work is to hold down the Alt key and the prtsc at the same time, then type in the following letters consecutively: r-e-i-s-u-b. It's always worked or me but others say it doesn't. It's not easy to do, physically but if you can it is a much better way.

If the SSD you are referring to is the internal drive which came with the computer, it isn't generally listed separately but is the device which boots when you select windows boot manager or OS boot manager. This option boots the default device and on most home computers, windows is installed by the manufacturer so both those options would originally boot windows. The OS Boot Manager option should give you the option to select another device installed on the SSD. On my HP compters, there is an arrow to the left of OS Boot Manager which means more than one OS installed and highlighting it and then highlighting another OS from the new window with the list will allow you to select it by then hitting the Enter key. efibootmgr shows the same information but in a different way. Remember that some of these options don't work on an HP computer.
 
1 members found this post helpful.
Old 08-25-2022, 08:44 AM   #83
salima
Member
 
Registered: Aug 2022
Location: india
Distribution: ubuntu 22.04
Posts: 57

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by colorpurple21859 View Post
Did you try the safe graphics menu entry on the ubuntu usb?
i remember you suggested that before, i got sidetracked. i have never done anything with it. i have seen a grub screen, but usually when my computer was about to or in the middle of some kind of malfunction.

i dont remember the choice being there when i boot the usb, i thought it was only the one screen, where it offers 'try' and 'install'. maybe the grub screen option comes after making that decision; if so, that is where i get stuck so i wont be able to do it...unless there is another way.

but i will try and read some tutorials from different linux sites and then try what i can learn to do.
 
Old 08-25-2022, 09:20 AM   #84
salima
Member
 
Registered: Aug 2022
Location: india
Distribution: ubuntu 22.04
Posts: 57

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by yancek View Post
The point I was making with regard to the possibility that your drive is bad is there is not guarantee how long one will work. Some users buy a drive and it is faulty and never works, you can use it few times and it goes bad or use it for years without problems. There's no real way to know how long one will work. This is one possibility with the flash drive and the problems you are having. Do you see it as an option in the BIOS when it is attached? If you boot the installed system and run sudo fdisk -l, does the drive show. If the answer to the 2 questions is yes then it is not that the flash is bad but is corrupted in some way.

You need to reboot to change the boot device. Logging out will not change it.

A method that I use to power off when the standard methods from the GUI or terminal don't work is to hold down the Alt key and the prtsc at the same time, then type in the following letters consecutively: r-e-i-s-u-b. It's always worked or me but others say it doesn't. It's not easy to do, physically but if you can it is a much better way.

If the SSD you are referring to is the internal drive which came with the computer, it isn't generally listed separately but is the device which boots when you select windows boot manager or OS boot manager. This option boots the default device and on most home computers, windows is installed by the manufacturer so both those options would originally boot windows. The OS Boot Manager option should give you the option to select another device installed on the SSD. On my HP compters, there is an arrow to the left of OS Boot Manager which means more than one OS installed and highlighting it and then highlighting another OS from the new window with the list will allow you to select it by then hitting the Enter key. efibootmgr shows the same information but in a different way. Remember that some of these options don't work on an HP computer.
yes, i see the usb drive listed in the boot options when it is attached, but i dont see it on that screen listing the disk devices. (i attached a screen print. i think it is only parts of my laptop drive.) also i tried both with the flash plugged into the hub and again with it plugged into the port on the laptop. so what does it mean if the answer to the first question is yes and the answer to the second question is no?

as for the better way to get out of a stuck screen that you use, thanks for showing it-i will write it down and keep it next to my computer with my other emergency stuff. i will try it the next time i get stuck. i better ask, you dont want me to press the dashes in between the letters, right? just leave a space between them? why is it hard, do you mean i have to hold down the two keys while i am typing the other thing too?

thanks for explaining why it looks to me like there is no ssd.

yes, i hate to ask a million silly questions, but i noticed the big black arrow in front of the OS Boot Manager option and i wondered what it was there for. of course i have no other thing installed on this machine, i forgot if i clicked on that to see what would happen, but probably not since i dont know anything about this new way of doing things.

last night i permanently changed the boot order to put the usb first from the f10 screen and this morning i checked and it is still like i left it.
Attached Thumbnails
Click image for larger version

Name:	fdisk -l.png
Views:	3
Size:	61.6 KB
ID:	39501  
 
Old 08-25-2022, 10:27 AM   #85
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,548

Rep: Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498
Quote:
i thought it was only the one screen, where it offers 'try' and 'install'.
The safe graphics option would come before the Try or Install options. immediately on booting if the option is there.

Quote:
what does it mean if the answer to the first question is yes and the answer to the second question is no?
Are you referring to the logout and reboot options? You can't boot to another device with a logout you need to reboot. A temporary change is using the F9 key. If you set the usb to first boot in the BIOS, it will change back to what it was before the change in the boot order. F9 is temporary, F10 is permanent. A change made with the F10 key will stay until you again access the BIOS with the F10 key and make another change.

Quote:
Do you see it as an option in the BIOS when it is attached? If you boot the installed system and run sudo fdisk -l, does the drive show.
If you are referring to the quote above regarding to the two options of seeing the drive recognized in the BIOS but not with fdisk, the drive is recognized in the system so that is good. If it doesn't show with fdisk, there could be a number of reasons such as being corrupted in some way. Do you not see it when plugged into the hub as well as when plugged into a usb port?

Quote:
why is it hard, do you mean i have to hold down the two keys while i am typing the other thing too?

Quote:
but i noticed the big black arrow in front of the OS Boot Manager option
If you see the black arrow (triangle) that means you have more than one entry, likely for Ubuntu and windows. Even though you do not have windows installed any longer, no OS or windows partitions, than UEFI entry will appear but will not do anything. Removing it is a totally different process.
Yes, you need to hold down the Alt and prtscr keys while then pressing consecutively the letters and NO dashes.
 
Old 08-25-2022, 11:02 AM   #86
salima
Member
 
Registered: Aug 2022
Location: india
Distribution: ubuntu 22.04
Posts: 57

Original Poster
Rep: Reputation: 0
hello yancek and color purple-
ok, i saw the grub screen this time and i tried the safe graphics mode and it does the exact same thing as if i just pressed try or install...it gets to the screen with the two big squares 'try' and 'install' and the language options and there it is stuck, there is nothing can do at that point. the only difference is that the image on the screen was much bigger, i mean maybe 150% of the same screen size if it was not in safe mode. so i had to twice again poweroff cold without safely removing the usb.

i read a number of articles or tutorials mainly about using safe graphics mode and they were all mainly about nomodeset and Nvidia. they sort of reference you can make repairs to your boot process or something, install a different bootloader, etc, without any specific instructions for how...but since i cant use it i guess that's that.

i couldnt imagine how to work the keyboard without seeing the things on the screen. is that how you do it? if you are stuck on a graphics screen, you just hold down those keys while pressing the other keys one at a time?
you are not like on a tty screen or anything, right?


Quote:
"Do you see it as an option in the BIOS when it is attached? If you boot the installed system and run sudo fdisk -l, does the drive show. If the answer to the 2 questions is yes then it is not that the flash is bad but is corrupted in some way."
i see the usb as an option in the bios when it is attached-yes. but the fdisk -l does not show it-no.

Quote:
Are you referring to the logout and reboot options? You can't boot to another device with a logout you need to reboot.
oy, i always think in terms of logoff, but i mean poweroff. my usb drive is probably nuked by now. by the way, is it better to pull out the flash and then poweroff cold (if i am forced to) or better to leave it plugged in and then poweroff cold? or does it not make any difference...
 
Old 08-25-2022, 12:09 PM   #87
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,371

Rep: Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593
Boot the usb, at the grub menu, use arrow keys to highlight:

"OEM install (for manufacturers)"

Press the e key for edit and change the line that begins with linux to this:

linux /casper/vmlinuz file=/cdrom/preseed/ubuntu.seed only-ubiquity

press ctrl-x to boot. It should come up to the beginning of the installation process, if it locks up note what is on the screen.

Last edited by colorpurple21859; 08-25-2022 at 12:13 PM.
 
Old 08-26-2022, 01:34 AM   #88
salima
Member
 
Registered: Aug 2022
Location: india
Distribution: ubuntu 22.04
Posts: 57

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by colorpurple21859 View Post
Boot the usb, at the grub menu, use arrow keys to highlight:

"OEM install (for manufacturers)"

Press the e key for edit and change the line that begins with linux to this:

linux /casper/vmlinuz file=/cdrom/preseed/ubuntu.seed only-ubiquity

press ctrl-x to boot. It should come up to the beginning of the installation process, if it locks up note what is on the screen.

i tried OEM install-got as far as welcome screen (language selection but no ‘try’ and ‘install’ buttons). box for selecting name of files to be installed-i typed 'sysmanmodeOEM' and pressed ‘continue’, waited ten minutes, screen still stuck-then pressed ‘quit’, no response-pressed ‘logout’ from upper menu bar, but no response. cold poweroff.
 
Old 08-26-2022, 04:44 AM   #89
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,548

Rep: Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498
Quote:
i couldnt imagine how to work the keyboard without seeing the things on the screen
If you are referring to the Alt+prtsc REISUB method no, I use the keyboard on the laptop and it is not easy to do but it always works when I manage to hit the correct keys.

Leave the usb plugged in when you poweroff, then remove it. If you get a chance at some point to test it on another computer. I don't know what else you could try but powering off is likely to damage the usb if you don't safely remove it. Formatting it and writing another iso to the usb might be worth a try if you haven't done that.
 
Old 08-26-2022, 07:57 AM   #90
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,371

Rep: Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593
Quote:
i tried OEM install-got as far as welcome screen (language selection but no ‘try’ and ‘install’
The welcome screen where you select the language?
You are in the install mode at that point, select the language you want and continue. For The live desktop change the linux line to this:

linux /casper/vmlinuz file=/cdrom/preseed/ubuntu.seed

Last edited by colorpurple21859; 08-26-2022 at 08:00 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Win8 wont boot or recover/ wont allow cd or usb boot of Linux/ can not reach bios Bhakta Neal Linux - Newbie 7 01-03-2013 03:17 AM
Flash BIOS or not? Compare BIOS features? SChipS Linux - General 4 04-20-2010 08:46 PM
FLASH FLASH XP Home and Samba Fix FLASH FLASH zollodav Linux - Networking 1 02-19-2006 01:16 AM
DSL Kernel Wont detect Flash drive on boot, cant boot =( Javahulk Linux - General 1 03-24-2005 02:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 07:21 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration