-------------------------------------------------------------------------------------------------------------
This document is provided as is - without warranty. Use it at your own risk.
-------------------------------------------------------------------------------------------------------------
All programs and commands tested -
---------------------------------
Exceptions mentioned!
---------------------------------
Tests realized: Julia KDE (64 bit), Katya Gnome (64 + 32 bit), LMDE (64 + 32 bit) on 3 notebooks
This HowTo has no logical sequence, because
> Chapters result from problems in Mint Forum > I only could attach 3 screenshots each post
Downloads http://www.linuxmint.com/oldreleases.php See which version is supported > Overview Linux Mint Releases:
Linux Mint: Desktop Gnome, KDE, Xfce, LXDE and Fluxbox (LM9). Official User Guide: http://www.linuxmint.com/documentation.php
Linux Mint Debian (LMDE): Desktop Gnome, Xfce, (KDE?) > rolling release
Important!
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ Before you install Mint: I highly recommend to download and burn live CD PartedMagic or SystemRescue.
+ Both are containing GParted, the best Partition Editor I know (and other useful tools).
+ If you have Windows (pre-)installed: additional SuperGrubDisk!
+ Homepages: => Please see chapter 0.2
+ After having installed Linux, your computer may not boot;
+ with SGD you are able to start Windows (and maybe Linux) ; with PM or SR you can manipulate system files.
+ No CD / DVD drive: create a live USB SystemRescue => Please see chapter 21 [ methods from Windows and Linux ]
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
~~~~~~~~~~
Chapters
~~~~~~~~~~
00 Windows
> 0.1 Checking download and burning image
> 0.2 Valuable live mediums
> 0.3 Preparing Windows for dual boot
01 Linux
02 Terminal / Editors
> 2.1 Short introduction in Terminal
> 2.2 Editors
03 Opening a Thread
04 Hardware
05 Sound
06 Installation
> 6.1 Grub
> 6.2 Partitioning
07 Request
08 HOWTOS
09 Network
10 UNetbootin
11 Windows chainload
12 Integrity of a live CD /DVD
13 Backup boot loader
14 Explanation of a specific partitioning
15 Start Mint from command line
16 swap
> 16.1 Partition
> 16.2 File
> 16.3 Suspend to disk
17 PartedMagic
18 GParted
19 Create live USB with "dd"
20 Move home
> 20.1 Preliminary work
> 20.2
21 SystemRescue USB
> 21.1 USB installation method from Windows
> 21.2 USB installation method from Linux
> 21.3 System Rescue
22 Bluetooth
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
00 Windows
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
0.1 Checking download and burning image
Check md5sum after download: WinMD5Free.exe > http://www.winmd5.com/
No burning program -> SetupImgBurn_2.5.5.0.exe > http://www.imgburn.com/
Burn with low speed!
0.2 Valuable live mediums
If installation is failing: Prevention is better than cure!
To start Windows or Linux, repair boot loader GRUB v.1.9:
SuperGrubDisk http://www.supergrubdisk.org/ : Rescatux - Super Grub2 Disk
SystemRescueCd: http://www.sysresccd.org/Main_Page
PM is more than a Linux operating system!
PartedMagic http://partedmagic.com/doku.php?id=downloads
0.3 Preparing Windows for dual boot
Backup your data to an external backup medium before trying a dual-boot install.
Windows should be installed first, because it´s a lot easier than installing Windows after Linux.
Clean up unnecessary files and defragment the drive before resizing:
Free downloads:
Revouninstaller - http://www.revouninstaller.com/revo_uninstaller_free_download.html
revosetup.exe ~ 2.6 MB
Features:
+ Creating SystemRestorePoint
+ Scanning for leftovers after the standard uninstall
CCleaner - http://www.piriform.com/ccleaner
ccsetupVersion.exe ~ 3 MB
Features:
+ Cleaner (System, Applications)
+ Registry Cleaner
+ Remove SRP
AuslogicsDiskDefrag - http://www.auslogics-disk-defrag.org/
disk-defrag-setup.exe ~ 4.5 MB
Shrinking Windows
Windows partition needs to be shrunk, creating free space for the Linux partition(s).
Don't shrink Windows on a running system, use a live medium as PartedMagic/ GParted, GParted or KDE Partition Manager
GParted: http://gparted.sourceforge.net/
KDE Partition Manager tested as a tool of a live Linux and as a live CD KDE Partition Manager!
KDE Partition Manager: http://kde-apps.org/content/show.php?content=89595
After shrinking a Windows partition:
reboot into Windows prior to further partitioning or even installing Mint - to enable Windows to update its boot files.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
01 Linux
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Check download > Terminal/ Konsole: command md5sum *.iso
- Code: Select all
seeley@seeley-laptop ~ $ pwd
/home/seeley
seeley@seeley-laptop ~ $ cd Downloads
seeley@seeley-laptop ~/Downloads $ ls -l
total 3614264
-rw-r--r-- 1 seeley seeley 725968896 Jul 24 11:33 linuxmint-11-lxde-32bit-rc2.iso
-rw-r--r-- 1 seeley seeley 54 Jul 24 11:23 md5sumMint11LXDErc2iso
seeley@seeley-laptop ~/Downloads $ md5sum linuxmint-11-lxde-32bit-rc2.iso
f1c310e709c3236a84a7afa4a44f696d linuxmint-11-lxde-32bit-rc2.iso
seeley@seeley-laptop ~/Downloads $ cat md5sumMint11LXDErc2iso
f1c310e709c3236a84a7afa4a44f696d md5 mintLXDE11rc2iso
To burn an image: Gnome: Brasero, KDE and Gnome: K3b
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
02 Terminal / Editors
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2.1 Short introduction in Terminal
Many tasks in Linux can be done from both graphical interfaces and from commands.
To solve a problem the help you get often requires the output of Terminal / Konsole.
You can find it: Menu/ Accessories/ or Menu/ System Tools- it depends on the distribution and the Desktop.
Some commands require administrator rights (root) - the command depends on the distribution and the Desktop:
On live medium:
- Code: Select all
sudo su
Otherwise:
- Code: Select all
su -
- Code: Select all
command
- Code: Select all
sudo command
BTW: LMDE has a Root Terminal.
If you want to post the output of a command:
Mark it, copy (and paste) it into your POST A REPLY choosing Code and pasting it between the two pairs of [] [] brackets - to better read it.
Important commands:
- Code: Select all
ls
A description :
- Code: Select all
man ls
- Code: Select all
pwd
/home/seeley
- Code: Select all
cat /etc/hostname
seeley-Amilo
- Code: Select all
df -h
- Code: Select all
mount
- Code: Select all
free
- Code: Select all
dmesg
2.2 Editors
Desktop.....Editor...........root command..........Main Menu >
-----------------------------------------------------------------------------------------------------
Gnome.......Gedit............gksudo gedit.............Accessories
KDE...........Kate..............kdesudo kate *)........Applications > Utilities
LXDE.........Leafpad....
XFCE.........Mousepad....gksudo mousepad...
-----------------------------------------------------------------------------------------------------
*) Alt+F2: kdesu kate / kdesu kwrite
-----------------------------------------------------------------------------------------------------
Without graphical interface you have to use a Terminal editor
vim
http://www.linuxquestions.org/linux/ans ... i_Improved
nano
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
03 Opening a thread
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1. Posting distribution, kernel, desktop and data medium
- Code: Select all
lsb_release -rd
Ex 01.a:
Description: Linux Mint 10 Julia
Release: 10
Ex 01.b:
Description: Linux Mint Debian Edition
Release: 1
- Code: Select all
uname -a
Ex 02.a:
... 2.6.35-22-generic #33-Ubuntu SMP Sun Sep 19 20:32:27 UTC 2010 x86_64 GNU/Linux
-> 64 bit
Ex 02.b:
... 2.6.32-5-686 #1 SMP Thu Nov 25 18:43:34 UTC 2010 i686 GNU/Linux
-> 32 bit
Ex 02.c:
2.6.39-1.dmz.2-liquorix-amd64 #1 ZEN SMP PREEMPT Fri Jun 10 01:11:24 CDT 2011 x86_64 GNU/Linux
-> 64 bit
Desktop: Gnome, KDE, Xfce, LXDE, Fluxbox
Image on CD, DVD, USB
2. Number of hard disks
- Code: Select all
inxi -F | grep Disks
Ex3:
Disks: HDD Total Size: 80.0GB (5.4% used) 1: /dev/sda FUJITSU_MHT2080A 80.0GB
installed operating systems
---------------------------------------------------------------------------------------important---------------------------------------------------------------------------------------------------------------------
2 EXAMPLES WHAT YOU SHOULD POST
Example 4.1 (Minimum):
Mint 9/ KDE/ 32 bit/ installed from live-CD/ VISTA preinstalled/ 1 hard disk
Example 4.2:
Mint Julia/ Gnome 2.32.0/ kernel 2.6.35-22-generic #33-Ubuntu SMP Sep 19 2010 x86_64 GNU/Linux
installed from live USB <-UNetbootin/ multiboot W7 - Julia - Fedora/
Disks: HDD Total Size: 504.2GB (12.4% used) 1: /dev/sda TOSHIBA_MK5055GS 500.1GB
---------------------------------------------------------------------------------------important---------------------------------------------------------------------------------------------------------------------
- Code: Select all
gnome-about
shows Gnome version.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
04 Hardware
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
List Hardware:
As root:
- Code: Select all
lshw
or
- Code: Select all
hwinfo
Maybe you get a message
- Code: Select all
The program 'hwinfo' is currently not installed. You can install it by typing:
sudo apt-get install hwinfo
- Code: Select all
lsusb
lists e.g.:
USB mouse, USB printer,
USB flash drive [-> ICON on Gnome Desktop; unplug: right click and "Safely Remove Drive"!],
integrated webcam (!),
USB modem, e.g.:
Bus 002 Device 007: ID 12d1:1003 Huawei Technologies Co., Ltd. E220 HSDPA Modem / E270 HSDPA/HSUPA Modem
The first 4 hexadecimal characters (12d1) are showing the vendor and the second 4 hexadecimal characters (1003) the product.
- Code: Select all
lspci
e.g.: Audio controller, Firewire, SD Host Controller, Network Controller,...
Links concerning Hardware problems:
Debian Wiki: http://wiki.debian.org/HowToIdentifyADevice/PCI
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
05 Sound
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Run in a Terminal and post the output:
a)
- Code: Select all
cat /proc/asound/card0/codec#* | grep Codec
Ex5:
Codec: IDT 92HD71B7X
and
- Code: Select all
aplay -L
b)
Sound preferences:
left part of the image: right click on speaker iCON.....................................|| right part of the image: run "pavucontrol" in a Terminal.....................
c)
Terminal:
- Code: Select all
alsamixer
Hit F6 to choose your sound card and push buttons up!
d)
Terminal:
- Code: Select all
gnome-alsamixer
e) Edit files *.conf
Sometimes you must add a row in the file /etc/modprobe.d/alsa-base.conf, e.g.
(HDA Intel card):
options snd-hda-intel model=auto
Save, reboot, run "alsamixer" to unmute and adjust channels.
If this step was unsuccessful, replace that line with
options snd-hda-intel model=laptop
or instead of "laptop": name of the computer, the model, the manufacturer.
Save, reboot, run "alsamixer" to unmute and adjust channels.
/blacklist*.conf
f) Installation of another kernel / waiting for a new kernel.
Links [solved]:
1. eepc1005hab
Mint 10 is nice but fails re microphone <workaround found>
2.
Help for Sound Problems Intel (ICH5/ICH5R) AC'97
3. Acer eeePC Realtek ALC629
Suddenly no sound from speakers, headphones work
4. LG P1 Express ALC880
No sound on my laptop LG P1
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
06 Installation
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
6.1 Grub
The GRand Unified Bootloader 2, GRUB 2, is following Grub legacy (Grub 1). I name the successor GRUB"2", because version 1.97 contains bugs (concerning VISTA and PCLinuxOS).
Instead of menu.lst GRUB"2" uses 2 files: grub.cfg (should not be edited) and grub (can be edited)
and a directory /etc/grub.d/
The files can be displayed by:
- Code: Select all
cat /boot/grub/grub.cfg
- Code: Select all
cat /etc/default/grub
To edit grub:
- Code: Select all
gksudo gedit /etc/default/grub
- Code: Select all
sudo update-grub
In Ubuntuusers.de/Wiki :
http://wiki.ubuntuusers.de/GRUB_Umgebung_analysieren#GRUB-Installation-in-MBR-und-Bootsektor-automatisch-aufspueren
I found the following command (De -> En):
Copy the command into a Terminal and post the output.
- Code: Select all
sudo fdisk -l 2>/dev/null | egrep "Disk /|/dev/" | sed "s#^/dev/#Part /dev/#" | awk '{print $2}' | sed 's/://' | xargs -n1 -IX sudo sh -c "hexdump -v -s 0x80 -n 2 -e '2/1 \"%x\" \"\\n\"' X | xargs -n1 -IY sh -c \"case \"Y\" in '48b4') echo X: GRUB 2 v1.96 ;; 'aa75' | '5272') echo X: GRUB Legacy ;; '7c3c') echo X: GRUB 2 v1.97 or higher ;; *) echo X: No GRUB Y ;; esac\""
- I name it "findGrub"- (De -> EN)
GRUB Byte-Kennungen
5272 GRUB (Legacy)
aa75 GRUB (Legacy)
48b4 GRUB 2 (Version 1.96)
7c3c GRUB 2 (Version 1.97 or 1.98)
020 GRUB 2 (Version 1.99)
488 Grub 2 core.img
Other Systems:
...
Unfortunately "findGrub" does not work correctly:
I recently installed Katya (Gnome 64 bit) onto the logical partition /dev/sda5 with boot loader Grub"2" into the MasterBootRecord of my hard disk (/dev/sda):
boot loader Grub 1.99rc1 in the MBR of /dev/sda
but "findGRUB" displayed
- Code: Select all
/dev/sda: No GRUB 020
But Byte identifier 020 means: Grub 1.99
However the following command
- Code: Select all
dpkg --list | grep grub
displays the correct version (Grub of the current Linux):
- Code: Select all
ii grub-common 1.99~rc1-13ubuntu3-1mint1 GRand Unified Bootloader, version 2 (common files)
ii grub-gfxpayload-lists 0.2 GRUB gfxpayload blacklist
ii grub-pc 1.99~rc1-13ubuntu3-1mint1 GRand Unified Bootloader, version 2 (PC/BIOS version)
ii grub2-theme-mint 1.0.7
Links concerning GRUB"2":
Ubuntu Documentation: https://help.ubuntu.com/community/Grub2
Hermans GNU GRUB 1.98: http://members.iinet.net/~herman546/p20.html
If "findGrub" displayed GRUB2 on your root partition -> repair
If "findGrub" displayed No GRUB on your root partition -> install
To repair Grub"2"
Boot from your Mint live medium
Supposing hard disk /dev/sda and Mint root partition sdaX is not labelled
IMPORTANT: replace X 4 times in 3 commands and sda, if your hd is not identified as sda !
Terminal:
- Code: Select all
ls /media
No output is okay.
Supposing Mint is installed in /dev/sdaX and Grub2 into the MBR of /dev/sda:
Case sensitivity!
Terminal: As root (e.g. Gnome Desktop):
- Code: Select all
sudo mkdir /media/SDAX
- Code: Select all
sudo mount /dev/sdaX /media/SDAX
- Code: Select all
ls /media
SDAX should be printed.
Terminal:
- Code: Select all
sudo grub-setup -d /media/SDAX/boot/grub /dev/sda
IMPORTANT: replace X 4 times in 3 commands
-----------------------------------------------------------------------------------------------------------------------------------------
I did not try to repair or install GRUB"2" on a system with own boot partition!
I suppose you must mount both boot and root partitions and choose as sadX the boot partition.
-----------------------------------------------------------------------------------------------------------------------------------------
To install Grub"2" TESTED in this forum: http://forums.linuxmint.com/viewtopic.php?f=46&t=65156&p=376469#p376469
Supposing hard disk sda and root partition sdaX
- Code: Select all
sudo mount /dev/sdaX /mnt
A separate boot partition -sdaW- must be mounted, too:
- Code: Select all
sudo mount /dev/sdaW /mnt/boot
A separate home partition -sdaY- must be mounted, too:
- Code: Select all
sudo mount /dev/sdaY /mnt/home
Important step:
- Code: Select all
sudo mount --bind /dev/ /mnt/dev
To install GRUB"2" into the MBR of hard disk sda:
- Code: Select all
sudo grub-install --root-directory=/mnt /dev/sda
6.2 Partitioning
Run in a Terminal and post the output:
a)
- Code: Select all
sudo fdisk -l
and
- Code: Select all
sudo parted -l print
b) Partitioning:
- Code: Select all
sudo gparted
Important hint concerning partitioning with GParted: You can test GP:
If you don't choose "Apply all operations" and choose "Clear all operations" the changes will not be written to disk.
Reference
http://gparted.sourceforge.net/documentation.php
I highly recommend to use a new version of GP.
PartedMagic has many useful tools as UNetbootin (once used you never will miss it!), TestDisk,...; GParted:
http://partedmagic.com/doku.php
Don't use version 6.4 (bugs)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
07 Request
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Please add [solved] to the subject line, if your originally question is answered.
Fitzcarraldo/ Sabayon forum gives the best statement I know at http://forum.sabayon.org/viewtopic.php?f=86&t=17059
Why ... to add "[Solved]" to your post. Please read.
There are several reasons why are we asking you to do this small, simple thing:
1. If a thread has been marked "[Solved]" then forum visitors (especially the moderators and knowledgeable members who try to help others) know they don't need to revisit the thread. This saves valuable time, especially if there are several threads with requests for help.
2. When you use the forum's Search facility to look for a solution to a problem, if one or more of the list of posts has "[Solved]" in the Subject then you can open those posts first and probably find the solution to your problem faster. Otherwise you may spend a lot of time reading posts and threads which leave you none the wiser.
3. By doing this yourself, rather than expecting forum moderators to do it for you, you are being courteous as you give us more time to deal with other forum tasks or trying to help with other requests.
4. Other visitors with the same problem as you may not bother to browse a thread again if they think that the discussion is ongoing but no solution has been found. If they see the thread has been marked "[Solved]" the next time they visit the forum, they know immediately to visit/revisit that thread.
Your cooperation would be appreciated. Thanks.
And please point at this thread - reading unanswered questions - if you find this tutorial helpful and your problem is solved.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
08 HOWTOS
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ENGLISH
Howto install Mint Debian (LMDE):
HOWTO install 201101 onto hard disk
HOWTO install 201012 Gnome 64 on USB flash
Deutsch
Anleitung: wie schnelle Hilfe erhalten
Anleitung zur Installation von Julia / Dualboot Windows - Mint / manuelle Partitionierung
Anleitung zur Installation von 201101
Lauren's Deutsch/ English TUTORIALS
Windows vorhanden > Mint Installation vorbereiten / Windows pre-installed > prepare Mint installation
Julia KDE Installation - Partitionen manuell festlegen / Installing Julia KDE - Custom layout
EeePC-vx6 Dualboot Windows7 - Mint10 (incl. Skype)




