[lubuntu-users] MacbookPro 3,1 Snowleopard + Lubuntu 16.04

Nio Wiklund nio.wiklund at gmail.com
Tue Sep 13 07:44:13 UTC 2016


Den 2016-09-13 kl. 07:23, skrev scrooyahoo at riseup.net:
> On 2016-09-13 06:02, scrooyahoo at riseup.net wrote:
>
> Update:
>
> I removed:
>
>  gfxmode $linux_gfx_mode
>  $vt_handoff
>
>
> and added nomodeset ---
>
>
> result:
>
>
> =====================================================
>
>  menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu
>  --class os $menuentry_id_option
>  'gnulinux-simple-907d721b-5385-4af0-b565-29220ac4a6d7' {
>      recordfail
>      load_video
>      insmod gzio
>      if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
>      insmod part_gpt
>      insmod ext2
>      set root='hd0,gpt6'
>      if [ x$feature_platform_search_hint = xy ]; then
>        search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6
>  --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6
>  907d721b-5385-4af0-b565-29220ac4a6d7
>      else
>        search --no-floppy --fs-uuid --set=root
>  907d721b-5385-4af0-b565-29220ac4a6d7
>      fi
>      linux    /boot/vmlinuz-4.4.0-36-generic.efi.signed
>  root=UUID=907d721b-5385-4af0-b565-29220ac4a6d7 ro  quiet splash
> nomodeset ---
>      initrd    /boot/initrd.img-4.4.0-36-generic
>  }
>
>
>  ================================================
>
>
>
> This now boots,
>
> But how do i make this permanent, and all the other parameters are they
> correct?
>
> Is it OK to manually edit the grub.cgf?
>
> Or how do I make those changes with grub-mkconfig?
>
>
>
>

Hi scrooyahoo,

You can edit grub.cfg, but it will be overwritten sooner or later, when 
sudo update-grub is run automatically (or manually by you). Instead you 
should edit the grub configuration file

/etc/default/grub

and the files in the directory

/etc/grub.d/

and after that run

sudo update-grub

Edit with

sudo nano
or
gksudo leafpad

See these links and links from them for more details:

https://help.ubuntu.com/community/Grub2/Setup

https://ubuntuforums.org/showthread.php?t=2230389&p=13370808#post13370808

Best regards
Nio



More information about the Lubuntu-users mailing list