Author Topic: ISO - Without mhwd at boot  (Read 613 times)

0 Members and 1 Guest are viewing this topic.

Offline scachemaille

  • Held Mitglied
  • *****
  • Posts: 528
  • I'm new. Be nice!
  • Branch: Unstable
  • Desktop: Plasma 5
  • GPU Card: nVidia GT 330M
  • GPU driver: Nouveau
  • Kernel: 4.8_x64
  • Skill: Intermediate
ISO - Without mhwd at boot
« on: 09. March 2016, 09:28:38 »
Hello, I will try to explain you my problems.
I have a macbook pro 15" mid 2010, with 2 graphics card who should accept bumblebee, but I never arrived to make it works on EFI boot.
I even never arrived to make the nvidia drivers to work. and it seems to be related to my hardware or the efi firmware of apple.
The only way I found for manjaro to boot is to have the nouveau drivers and to load it as soon as possible with adding it in /etc/mkinitcpio.conf.

and the only iso I'm able to boot from USB is manjaro 15.09. manjaro 15.12 and 16.06rc isn't booting it always end with black screen and no possibility to do anything
or just the screen with all the boot text and nothing else.

I wanted to know if it was possible and not too complicate to modify the iso for it boot with nouveau drivers (with module defined in mkinitcpio.conf) and to don't
pass by the mhwd graphic step as it install bumblebee who don't work on my hardware.

I hope you understand what I would like to achieve and any help would be welcome.


Offline eugen-b

  • Support Team
  • ****
  • Posts: 3191
  • Branch: testing
  • Desktop: LXDE, Fluxbox, JWM, LXQt, bspwm
  • GPU Card: Intel 82945G/GZ
  • GPU driver: free
  • Kernel: 4.5, 4.6
  • Skill: Intermediate
Re: ISO - Without mhwd at boot
« Reply #1 on: 09. March 2016, 10:54:31 »
Concerning live CD booting into black screen:
- try boot parameter (I made it up, so probably it doesn't exist) xdriver=nouveau
- boot parameter xdriver=vesa should work however
I don't know about the rest of your questions. :(
MSI Wind Nettop, Intel Atom 230 1.6GHz (64bit), 2GB RAM
DEs: NET-minimal + (LXDE / Fluxbox / JWM); LXQt OpenRC
how to install on btrfs subvolumes
http://manjaro.github.io/donate/

Offline scachemaille

  • Held Mitglied
  • *****
  • Posts: 528
  • I'm new. Be nice!
  • Branch: Unstable
  • Desktop: Plasma 5
  • GPU Card: nVidia GT 330M
  • GPU driver: Nouveau
  • Kernel: 4.8_x64
  • Skill: Intermediate
Re: ISO - Without mhwd at boot
« Reply #2 on: 09. March 2016, 20:36:01 »
Concerning live CD booting into black screen:
- try boot parameter (I made it up, so probably it doesn't exist) xdriver=nouveau
- boot parameter xdriver=vesa should work however
I don't know about the rest of your questions. :(
thanks for your answer.
unfortunately I tried a lot of different boot parameter combination. xdriver, nomodeset, etc none is working
with some I'm able to switch to a tty, but none with xorg server working. :(

EDIT:
I finally arrived to get xserver working. with xdriver=vesa
startkde was not working it was saying screen not found
startx worked but it was not kde.. ;) see pictures.
I arrived to install manjaro kde 16.06pre1 with calamares. no problems during install.
all seems to work as espected. just the font rendering who is bader than my previous kde 15.09 install. with all the same settings in KDE fonts anti aliasing settings.. don't know why.

in case someone know about my original question about how to create an iso with the modified boot I still would like to know..

best regards.
« Last Edit: 09. March 2016, 23:55:13 by scachemaille »

Offline artoo

  • OpenRC Team
  • ****
  • Posts: 2373
  • Branch: Unstable
  • Desktop: LXQT/Plasma5, openrc & eudev
  • Kernel: x86_64
  • Skill: Advanced
Re: ISO - Without mhwd at boot
« Reply #3 on: 06. April 2016, 09:50:31 »
Look at the community/server profile.
This one has no mhwd, just base group.
Problem atm, installer(at least cliinstaller) needs tweaks to only install root image.

Offline scachemaille

  • Held Mitglied
  • *****
  • Posts: 528
  • I'm new. Be nice!
  • Branch: Unstable
  • Desktop: Plasma 5
  • GPU Card: nVidia GT 330M
  • GPU driver: Nouveau
  • Kernel: 4.8_x64
  • Skill: Intermediate
Re: ISO - Without mhwd at boot
« Reply #4 on: 06. April 2016, 13:23:37 »
Look at the community/server profile.
This one has no mhwd, just base group.
Problem atm, installer(at least cliinstaller) needs tweaks to only install root image.
Thanks for your answer.
I will take a look at this profile and try to understand the ISO boot process and installer result when I will have time, as there is things I don't really understand.  As examples it seems the installer (at least calamares)  configure the graphics like as the ISO booted.
As if I remember when I booted with xdriver=vesa kernel option, the installed system had vesa driver installed.

My problem isn't the result of installation  without correct graphics drivers and xorg not starting correctly as I can modify and set all I need in tty and reboot.  But I can't do that to boot correctly the ISO.

And I saw in the profile systemd startup for live environment something about mhwd but I was not sure I can remove it..  As I thought it is not only responsible of graphics detection.  But maybe also some other hardware stuff. Am I wrong and can remove this safely?

Best regards
« Last Edit: 06. April 2016, 13:30:00 by scachemaille »

Offline badbodh

  • Held Mitglied
  • *****
  • Posts: 923
  • Windows assumes I'm stupid, Linux proves it.
  • Branch: Testing
  • Desktop: Xfce, i3
  • GPU Card: Intel Mobile 4 Series
  • Kernel: linux41 64-bit
  • Skill: Intermediate
Re: ISO - Without mhwd at boot
« Reply #5 on: 06. April 2016, 14:34:31 »
mhwd also handles other stuff besides graphics. Don't remove/disable it. All we gotta figure out is stop mhwd from auto-detecting/installing graphics only.

chroot from a live session and run
Code: [Select]
mhwd -li pci
mhwd-gpu --status
and show us output.
You can't feel the love till it hurts a little. Go rolling, go bleeding-edge !

Offline scachemaille

  • Held Mitglied
  • *****
  • Posts: 528
  • I'm new. Be nice!
  • Branch: Unstable
  • Desktop: Plasma 5
  • GPU Card: nVidia GT 330M
  • GPU driver: Nouveau
  • Kernel: 4.8_x64
  • Skill: Intermediate
Re: ISO - Without mhwd at boot
« Reply #6 on: 06. April 2016, 14:46:54 »
mhwd also handles other stuff besides graphics. Don't remove/disable it. All we gotta figure out is stop mhwd from auto-detecting/installing graphics only.

chroot from a live session and run
Code: [Select]
mhwd -li pci
mhwd-gpu --status
and show us output.
Thanks.  I will do that and report back.  I don't know when as it's not urgent as my system is working well right now.  It's just a things I would do to be able to have a working ISO for a new install in future with a graphic live environment working.  So it's not urgent.
Is it important to have the output from a chroot from a live USB or I can do it from my running installation?

Offline badbodh

  • Held Mitglied
  • *****
  • Posts: 923
  • Windows assumes I'm stupid, Linux proves it.
  • Branch: Testing
  • Desktop: Xfce, i3
  • GPU Card: Intel Mobile 4 Series
  • Kernel: linux41 64-bit
  • Skill: Intermediate
Re: ISO - Without mhwd at boot
« Reply #7 on: 06. April 2016, 14:52:39 »
oh, my bad. i thought your existing system had this issue. Need some coffee right now :P
No need to chroot.

The idea is, if you can prevent any auto-detection from current install, editing some config file. It's possible to do the same while building iso, just add that same file to overlay.
« Last Edit: 06. April 2016, 14:54:19 by badbodh »
You can't feel the love till it hurts a little. Go rolling, go bleeding-edge !

Offline scachemaille

  • Held Mitglied
  • *****
  • Posts: 528
  • I'm new. Be nice!
  • Branch: Unstable
  • Desktop: Plasma 5
  • GPU Card: nVidia GT 330M
  • GPU driver: Nouveau
  • Kernel: 4.8_x64
  • Skill: Intermediate
Re: ISO - Without mhwd at boot
« Reply #8 on: 06. April 2016, 14:59:40 »
oh, my bad. i thought your existing system had this issue. Need some coffee right now :P
No need to chroot.

The idea is, if you can prevent any auto-detection from current install, editing some config file. It's possible to do the same during building iso, just add that same file to overlay.
No.  I don't have any issue on the installed system.  After install I remove the wrong drivers with mhwd and install nouveau drivers.  Add them in mkinitcpio.conf. rebuild images with mkinitcpio -P and reboot.

My question/issue is how to achieve this to generate an ISO with the modified mkinitcpio.conf for nouveau drivers as If  I don't add nouveau in mkinitcpio the drivers are not loaded at the right time and end with a black screen. And that there is no detection/installation of any graphics drivers by mhwd during ISO boot.
« Last Edit: 06. April 2016, 15:03:51 by scachemaille »