LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 08-29-2024, 04:33 PM   #1
hbrednek
LQ Newbie
 
Registered: Aug 2024
Posts: 2

Rep: Reputation: 0
How can I boot in "compatibility mode"?


I have been trying to install Linux on an HP Pavilion desktop system for the last month without success. I started off with Mint, because that's my preferred distro, but it wouldn't boot off the USB drive. I would get a grub option to boot Virginia, but subsequently the boot process simply died, showing me the HP logo and nothing else. I then tried Ubuntu, Fedora, Arch Linux and SUSE Linux. All failed in a similar manner - they just wouldn't boot off a USB drive. Finally, I tried Mint again, but this time choosing the "compatibility mode" option.

That actually worked! However, that's just the part that boots off the USB drive. I subsequently installed Mint on the HP hard drive but have never gotten it to boot. I do get a grub> prompt and working with that I can get started as follows:

grub> set root=(hd0,3)
grub> linux /boot/vmlinuz root=/dev/sda3
grub> initrd /boot/initrd.img
grub> boot

Note that the linux and initrd lines used tab completion to select /boot/vmlinuz and /boot/initrd.img, so grub recognized and found the files without a problem..

This begins the boot process, but after a few seconds it halts showing:

1.870163] usb 1-11: new high-speed USB device number 4 using xhci_hcd
2.xxxxxx] usb 1-11: New USB device found, idVendor=04a9, idProduct=2774, bcdDevice= 0.00
2.xxxxxx] usb 1-11: New USB device strings: Mfr=1, Product=2, SerialNumber=3
2.xxxxxx] usb 1-11: Product: MF4700 Series
2.xxxxxx] usb 1-11: Manufacturer: Canon Inc
2.050238] usb 1-11: SerialNumber: 0131G24DD3D0
2.186148] usb 1-14: new full-speed USB device number 5 using xhci_hcd
2.335606] usb 1-14: New USB device found, idVendor=0bda, idProduct=b00c, bcdDevice= 0.00
2.xxxxxx] usb 1-14: New USB device strings: Mfr=1, Product=2, SerialNumber=3
2.xxxxxx] usb 1-14: Product: Bluetooth Radio
2.xxxxxx] usb 1-14: Manufacturer: Realtek
2.341873] usb 1-14: SerialNumber: 00e04c000001

Finally, after several minutes it shows

Begin: Loading essential drivers …

And makes no further progress.

This is reminiscent of the multiple failures in trying to boot the machine in anything other than “compatibility mode”. At this point I don’t know what else to do, other than trying to configure the boot process to be in “compatibility mode”.

So, what is “compatibility mode” and can I somehow make it occur from the grub command line? Otherwise, this nice HP Desktop is nothing more than a Windows machine, for which I have almost no use.

Please help.
 
Old 09-01-2024, 01:37 PM   #2
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 11,406

Rep: Reputation: 2716Reputation: 2716Reputation: 2716Reputation: 2716Reputation: 2716Reputation: 2716Reputation: 2716Reputation: 2716Reputation: 2716Reputation: 2716Reputation: 2716
An online search will give you numerous sites with an explanation of what 'compatibility mode' is in regard to computers. The link below is an explanaiton on wikipedia.

https://en.wikipedia.org/wiki/Compatibility_mode

You haven't posted any information on how old this computer is which information might help someone to help you. I haven't had any problem installing different Linux systems on my HP Pavilion. Do you not have an option to select a one time boot option (F9 key on my HP) using a specific key? Did you boot or see a boot option for UEFI boot? Unless this is a ten year old or older computer it should be UEFI compatible.
 
Old 09-01-2024, 05:09 PM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 26,800

Rep: Reputation: 6333Reputation: 6333Reputation: 6333Reputation: 6333Reputation: 6333Reputation: 6333Reputation: 6333Reputation: 6333Reputation: 6333Reputation: 6333Reputation: 6333
Welcome to LinuxQuestions.

Specifically linux Mint by default uses open source drivers for video and depending on hardware they might not work well. Compatibility mode disables the open source drivers. If your system does not boot once installed you can try the nomodeset kernel option. The nomodeset kernel options should work with the other distributions.

However, seeing the grub prompt would indicate another problem other then drivers. As posted specific hardware information on your HP might help.

https://linuxmint-installation-guide...t_options.html
 
Old 09-02-2024, 01:58 PM   #4
hbrednek
LQ Newbie
 
Registered: Aug 2024
Posts: 2

Original Poster
Rep: Reputation: 0
Solved!

Over the month in which I battled this problem, I - little by little - learned enough to finally solve the problem. I eventually learned a lot about the problem but the two most important things were how to use the grub prompt to load the kernel and using the 'e' key during grub USB booting to inspect the parameters which were about to be used for the kernel boot process. Once I understood this I was able to see the parameters that Linux Mint used to boot in compatibility mode. Note: not a theoretical discussion about what compatibility mode might mean, but the actual boot parameters which brought about the actual successful boot from the USB drive.

The actual boot parameters used by Linux Mint for compatibility mode are noapic noacpi and nomodeset. Using these from the grub command line:

grub> set root=(hd0,3)
grub> linux /boot/vmlinuz noapic noacpi nomodeset root=/dev/sda3
grub> initrd /boot/initrd.img
grub> boot

Worked! However, the screen was in 640 x 480 resolution - but at least it worked! Subsequent booting left off the nomodeset parameter. This brought up the screen in the expected 1980 x 1020 resolution - which is what I needed. I subsequently was able to make these values part of the grub default and now I have a fully functional machine. Awesome!
 
Old 09-03-2024, 12:28 AM   #5
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 8,296
Blog Entries: 21

Rep: Reputation: 4800Reputation: 4800Reputation: 4800Reputation: 4800Reputation: 4800Reputation: 4800Reputation: 4800Reputation: 4800Reputation: 4800Reputation: 4800Reputation: 4800
Congratulations! Please use the thread tools button to formally mark this as solved.

The problem with grub looks to me like a failure to find the configuration file for the boot menu. Running grub-mkconfig might solve it.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] Aspire 1700 boot OK on Live DVD compatibility mode but not when installed on HD. lucberger Linux - Laptop and Netbook 4 04-22-2015 01:59 PM
compatibility mode in printer.c hazeposse Programming 1 12-09-2005 12:33 PM
printer in compatibility mode hazeposse Linux - Hardware 0 12-07-2005 12:09 PM
compatibility mode in printer.c hazeposse Linux - Software 1 12-07-2005 09:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 10:20 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