logo sykohpath.com

				where code goes to die
			
	
tagstagstagstagstagstags

Dual Boot Mint 12 and Windows 7 on MST G

Mainly putting this here for my own reference, since I posted it on another site, and promptly forgot where it was.  Some newer hardware does not support the default Ubuntu/Mint installation, and requires some flags in order to get it work.  This was the case for my MSI GT780 DXR laptop, which I use for work (mint 12) and home (win 7).

I got it to load Mint 12 off the DVD. Mint 10 worked, but drivers were a big pain to deal with, and newer distros automagically have them.  Note that this is from straight out of the box hardware.

First, remove any former raid setup, and install Windows 7 first.

1) After BIOS post, press CTRL + I to enter RAID BIOS
2) press 2 to delete RAID
3) press 5 to exit
4) enter system BIOS (delete key) and setup SATA from RAID to AHCI
5) press F10 to save and exit
6) (re)install Windows


Next, install Mint 12.  This is sort of a carpet-bomb approach as regards to the settings, so I know a majority of these are pointless, but here's what I had set for the boot from DVD to work (I assume this works for the newer Ubuntu distros as well, since Mint is built on it):

1) BIOS:
USB Options:
Legacy USB: AUTO
XHCI: Disable
EHCI: Disable
2) Boot off CD, press any key to stop the 10 second countdown. Press TAB, and change the following:
REMOVE: quiet splash (optional)
ADD (before the --): noapic noapci nomodeset acpi=oldboot


I have a suspicion it's just the "acpi=oldboot" that is the magic fix on this one, so someone with more knowledge can chip in at this part.

I can confirm that wireless ethernet adapter AND the webcam work for the install.

------------------------------

Booting into it after install:

uhhh...new problem. Boot fails...not surprised. We need to edit boot options.

Boot normally, and it fails, so you'll have to edit the boot command. Fun stuff:

1) At boot menu, press "e" to edit the boot command.
2) Go down to where it says "linux /boot/vmlin"
3) Remove "quiet splash" (optional)
4) Add "noapic noapci nomodeset acpi=oldboot"
5) press F10 to boot into it. The first time I did this, it actually froze while booting. Did it again and it worked (I might have misspelled something first time)
6) Now you're in!
7) Change the boot permanently: Open Terminal
8) sudo bash

Now, at this point you can edit the existing boot, or make your own script. I made my own since I'm a noob and can't comprehend the existing boot scripts yet. All I did was copy the innards from the boot menu, and added the working options.

9) gedit /etc/grub.d/01_gt780dxr (or whatever your favorite editor is :P) (you can change the 01 to any number to change the ordering - with it at 01, it comes before the other options in the boot menu)
10) SCRIPT: ("simply" copy what is there in the other script when you press 'e' on boot menu - we're just adding the other options in the linux boot line)
#!/bin/sh -e
echo "I hope this works"
cat << EOF
menuentry "Mint 12 - MSI GT780DXR boot options" {
recordfail
set gfxpayload=$linux_gfx_mode
insmod gzio
insmod part_msdos
insmod ext2
set root='(hd0,msdos5)'
search --no-floppy --fs-uuid --set=root c876a7ef-2ae7-4492-a481-c5150cd69408
linux /boot/vmlinuz-3.0.0-12-generic root=UUID=c876a7ef-2ae7-4492-a481-c5150cd69408 ro noapic noapci nomodeset acpi=oldboot vt.handoff=7
initrd /boot/initrd.img-3.0.0-12-generic
}
EOF
11) chmod +x /etc/grub.d/01_gt780dxr
12) update-grub
13) exit
14) reboot and pray it somehow works...oh wow it worked


Now I hope some linux script god will reply and tell me I did this all wrong and post an easier way to do this

mint 12, ubuntu, windows 7, dual boot, gt780, msi,


0 comments.

tagstagstags

Change Login Backgrounds

Man, I'm in a customizable mood today.  Sigh.  I need a Mac just so I can cover all 3 bases.  For now, here's the only 2 I use.

Mint 12:
Code Sample:
  1. sudo gedit /etc/lightdm/unity-greeter.conf


Change the line that says "background" to a file location where your picture is.  I tried with a PNG, but it didn't work, so stick with JPG:
Code Sample:
  1. #background=/usr/share/backgrounds/linuxmint/default_background.jpg  //old background
  2. background=/home/sykohpath/Pictures/mikulogin.jpg
  3. logo=/usr/share/unity-greeter/logo.png


Logout-login, and you should see your background.  If it's a black screen, check your file location and letter casing.  I'm sure Image size doesn't matter - I'm using a 1920x1080; the default is 1920x1200, so I think as long as it's bigger than your screen, it'll fill it properly.

-----------------------------------------------------------------------------------------------------------------------------------------------

Windows is harder than Linux...nice!

Windows 7:

1) regedit

2) HKEY_LOCAL_MACHINE, select Find

3) Search for OEMBackground
Computer\HKEY_LOCAL_MACHINE\SOFTWAREMicrosoft\Windows\CurrentVersion\Authentication\LogonUI\Background

4) If the key doesn't exist, create DWORD with the name OEMBackground.  Change the value from 0 to 1

5) Open Explorer, and go to
%windir%\system32\oobe

6) Make a folder named "info", and in that folder, make "backgrounds"
%windir%\system32\oobe\info\backgrounds

7) Copy-paste your background in here, and rename it:
backgroundDefault.jpg

NOTE:  File size must be less than 245kb.

8) That's it! AMAZING.  Log off and you'll see it.

There's also programs that can "automatically" do this for you, but come on!  where is the fun in that?

login background, mint 12, windows 7,


0 comments.