Quickly get help

Write tutorials here
There are more tutorials here http://community.linuxmint.com/tutorial/welcome
Forum rules
Please don't add support questions to tutorials,start your own thread in the appropriate sub-forum instead. Before you post please read this

Re: Quickly get help

Postby seeley on Thu Jun 19, 2014 11:06 am

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
23 Gathering Network Data
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Framp's Linux Tips and Tricks
http://www.linux-tips-and-tricks.de/en/users-guide/

Citation
A lot of time network problems are posted in foren in order to find people to help to solve them. A lot of problems are configuration problems which can be fixed easily by the problem poster. This script collects a lot of network information and passes them to the NWEliza component, which analyzes them for common configuration errors. Errormessages point to webpages on this website which help to fix the problems.


I performed all necessary steps on Mint 16 Petra KDE 64 bit to give instructions how to proceed. (My connections are working.)

1. Download this script (collectNWData.sh)
-> a destination folder is showed (in my case: /home/seeley)

2. Opening a Terminal / Console
Code: Select all
pwd

Code: Select all
ls -l
l = lowercase "L" like list
You should see the file collectNWData.sh (~ 166 KiB)
Code: Select all
...
-rw-r--r-- 1 seeley seeley     169062 Jun 19 15:01 collectNWData.sh
...


3.
Changing file permissions:

[A guide: http://www.linux.org/threads/file-permissions-chmod.4094/]

Code: Select all
sudo chmod 700 collectNWData.sh

password (digits are not shown)
RETURN
->
Code: Select all
-rwx------ 1 seeley seeley     169062 Jun 19 15:01 collectNWData.sh


4.
Code: Select all
./collectNWData.sh
Pay attention, there is a point (.) in front of "/" and .sh at the end.

5. Answer the questions concerning your problem network

In my case:

Code: Select all
collectNWData.sh V0.7.3a                                                                                                                               
                                                                                                                                                       
--- Invoking this script as root allows a more detailed analysis and will give better results.                                                         
--- If you have any concerns to execute the script as root please read http://www.linux-tips-and-tricks.de/CND_ROOT#English.
--- Do you want to run the script as root ([y]/n)?y
--- Which type of your network connection should be tested?
--- (1) Wireless connection (WLAN)
--- (2) Wired connection
--- Please answer with 1-2:1

--- What's the type of networktopology?
--- (1) WLAN access point <---> LinuxClient
--- (2) WLAN HW router <---> LinuxClient
--- (3) WLAN access point <---> LinuxRouter <---> LinuxClient
--- (4) WLAN HW router <---> LinuxRouter <---> LinuxClient
--- Please answer with 1-4:2

--- Please enter the WLAN SSID you want to connect to (Will be masqueraded in output file):**********

--- NWCollect is collecting networkconfiguration information into file ...
                                               
--- NWEliza is analyzing the system for common network configuration errors ...
!!! CND0200W: Maximum possible MTU is 1492, but actual MTU on nic wlan0 is 1500
!!! CND0450W: WLAN key masquerading is not fully tested on this distribution. Please check output file collectNWData.txt for visible WLAN keys and masquerade them manually

--- Go to http://www.linux-tips-and-tricks.de/CND#English to get more detailed instructions
--- about the error/warning messages and how to fix the problems on your own.

--- If you are unsuccessful then place the contents of file collectNWData.txt in the net
--- (see http://www.linux-tips-and-tricks.de/CND_UPL#English for links)
--- and then paste the nopaste link on your favorite Linux forum.


Afterwards a file collectNWData.txt ( ~ 13 KiB ) is written in your folder
Code: Select all
-rw-r--r-- 1 seeley users       13135 Jun 19 15:12 collectNWData.txt


This file contains upon others:
release, kernel, ping test, nameserver, route table, ifconfig, iwconfig,
parts of lspci, lsusb, lshw, lsmod, firmware,
iwlist, rfkill list,...


List of error messages:
http://www.linux-tips-and-tricks.de/en/messages/
Last edited by seeley on Tue Jun 23, 2015 11:50 am, edited 4 times in total.
seeley @ Linux multiboot
Mint 17 Cinnamon
Mint 17.2 Rafaela < Deutsch English Français > Cinnamon, MATE, (Xfce)
LMDE Betsy Cinnamon + MATE
HowTo: Quickly get help
Anleitung: Wie schnelle Hilfe erhalten
User avatar
seeley
Level 7
Level 7
 
Posts: 1888
Joined: Sun Mar 07, 2010 7:20 am

Linux Mint is funded by ads and donations.
 

Re: Quickly get help

Postby seeley on Wed Jun 25, 2014 9:49 am

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
24 Download Manager
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Successfully tested on Maya MATE and Cinnamon and Petra KDE (64 bit)
Just installed on Qiana KDE 64, Firefox 30.0.

Steps:
1. Applications / System / Synaptic Package Manager (needs administrative privileges) -> Quick filter uget
-> uget latest version (1.10.4)
apply
(Alternative to Synaptic: Software Manager)

2. Firefox (V. 30.0) > New menu > Add-ons > Search flashgot
-> FlashGot Mass Downloader 1.5.5 [9.6.2014, 377KB]

3. FF / Add-ons / Extensions / FlashGot > Preferences

FFExtensions.png
Firefox 30 Extensions


4. Download
What should FF do?

FFflashgot.png
Downloading FlashGot uget
Last edited by seeley on Tue Jun 23, 2015 11:51 am, edited 2 times in total.
seeley @ Linux multiboot
Mint 17 Cinnamon
Mint 17.2 Rafaela < Deutsch English Français > Cinnamon, MATE, (Xfce)
LMDE Betsy Cinnamon + MATE
HowTo: Quickly get help
Anleitung: Wie schnelle Hilfe erhalten
User avatar
seeley
Level 7
Level 7
 
Posts: 1888
Joined: Sun Mar 07, 2010 7:20 am

Re: Quickly get help

Postby seeley on Sat Jun 28, 2014 7:51 am

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
25 Installation: Qiana Cinnamon
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Preparing partitions with GParted

gp2.png
Partitions before installing

ecause
Backup boot loader

Before this installation, Maya was my main Mint with Grub in MBR;
I just installed Qiana with boot loader in MBR (Maya Grub overwritten was no problem, because Qiana Grub detected Maya an enabled to boot to Maya without making any additional changes.
But I'm careful - that's why I saved

welcome.png
Welcome


preparing.png
For best results
Last edited by seeley on Tue Jun 23, 2015 11:51 am, edited 3 times in total.
seeley @ Linux multiboot
Mint 17 Cinnamon
Mint 17.2 Rafaela < Deutsch English Français > Cinnamon, MATE, (Xfce)
LMDE Betsy Cinnamon + MATE
HowTo: Quickly get help
Anleitung: Wie schnelle Hilfe erhalten
User avatar
seeley
Level 7
Level 7
 
Posts: 1888
Joined: Sun Mar 07, 2010 7:20 am

Re: Quickly get help

Postby seeley on Sat Jun 28, 2014 8:05 am

Next window shows the possibilities

I do not recommend "alongside", because I don't trust any automatismus.
I prefer partitioning before installing.

somethingElse.png
Alongside? No!


sda7_8.png
Relevant partitions


My root partition is a logical parttition, formatted as ext4. Here, however, I have to choose ext4 again, and format and "/"

sda7.png
root partition


Couriously a window opened with the following warning
Write previous changes to disk and continue?
Before you can select a new partition size, any previous changes have to be written to disk.
You cannot undo this operation.
Please note that the resize operation may take a long time.
Go Back or Continue

After having chosen "Continue":
No further reaction -
Last edited by seeley on Sat Jun 28, 2014 9:34 am, edited 1 time in total.
seeley @ Linux multiboot
Mint 17 Cinnamon
Mint 17.2 Rafaela < Deutsch English Français > Cinnamon, MATE, (Xfce)
LMDE Betsy Cinnamon + MATE
HowTo: Quickly get help
Anleitung: Wie schnelle Hilfe erhalten
User avatar
seeley
Level 7
Level 7
 
Posts: 1888
Joined: Sun Mar 07, 2010 7:20 am

Re: Quickly get help

Postby seeley on Sat Jun 28, 2014 8:11 am

/home

sda8.png
home partition


/media/DATA

sda3.png
Fat32 partition DATA


Overview: all relevant partitions, including boot loader device (=MBR of the SSD).


sda2_8bl.png
before the real installation
seeley @ Linux multiboot
Mint 17 Cinnamon
Mint 17.2 Rafaela < Deutsch English Français > Cinnamon, MATE, (Xfce)
LMDE Betsy Cinnamon + MATE
HowTo: Quickly get help
Anleitung: Wie schnelle Hilfe erhalten
User avatar
seeley
Level 7
Level 7
 
Posts: 1888
Joined: Sun Mar 07, 2010 7:20 am

Re: Quickly get help

Postby austin.texas on Sat Jun 28, 2014 8:21 am

seeley wrote:Couriously a window opened with the following warning
Write previous changes to disk and continue?
Please note that the resize operation may take a long time.

Yes, that popup is curious.
I always click "Back" at that point so that I don't have to wait on a "Resize" operation, and it always proceeds as it should.

seeley, if you set up your PM, I could offer suggestions privately.
Last edited by austin.texas on Sat Jun 28, 2014 1:44 pm, edited 1 time in total.
Mint 17.2 Cinnamon (64 bit), Quad core AMD A8-3870 with Radeon HD Graphics 6550D, 8GB DDR3, Ralink RT2561/RT61 802.11g PCI
Microsoft-free environment since 1996

Linux Linx 2016
User avatar
austin.texas
Level 15
Level 15
 
Posts: 5943
Joined: Tue Nov 17, 2009 3:57 pm
Location: at /home

Re: Quickly get help

Postby seeley on Sat Jun 28, 2014 8:21 am

The (real) installtion, after choosing "install now" only took 6 Minutes! (Iso on USB flash drive, target: SSD)

where.png
Location


Keyboard offer: I have to change to GERMAN

keyboard.png
Choosing layout


Personal Data and password

who.png
Personal Data
seeley @ Linux multiboot
Mint 17 Cinnamon
Mint 17.2 Rafaela < Deutsch English Français > Cinnamon, MATE, (Xfce)
LMDE Betsy Cinnamon + MATE
HowTo: Quickly get help
Anleitung: Wie schnelle Hilfe erhalten
User avatar
seeley
Level 7
Level 7
 
Posts: 1888
Joined: Sun Mar 07, 2010 7:20 am

Re: Quickly get help

Postby seeley on Sat Jun 28, 2014 8:29 am

After reboot I first tried to boot to my (old) Maya - no problem.

Afterwards I booted to the new installed Qiana - no problem, too.

GPafterI.png
GParted relevant Partitions


Note. The label "rootQCin" was deleted during installation

Swap partition was active:

swapGP.png
swap partition in use


Presented update:

mintupdate 4.6.2 -> 4.6.7

then

updates2.png
2nd window


231 updates available, 278 MB to download

took 10 Minutes (WLAN up to 1000 MB/s.)

Note: On the live medium GParted was available, but on the installed Qiana Cin. not.
If you open a Terminal,

Code: Select all
seeley@seeley-Q ~ $ gparted
The program 'gparted' is currently not installed. You can install it by typing:
sudo apt-get install gparted


Code: Select all
seeley@seeley-Q ~ $ sudo apt-get install gparted
[sudo] password for seeley:
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  libgtkmm-2.4-1c2a
Suggested packages:
  reiser4progs gpart
The following NEW packages will be installed:
  gparted libgtkmm-2.4-1c2a
0 upgraded, 2 newly installed, 0 to remove...
Need to get 1180 kB of archives.
After this operation, 6869 kB of additional disk space will be used.
Do you want to continue? [Y/n]


Installation only takes a few seconds.
Last edited by seeley on Tue Jun 23, 2015 12:26 pm, edited 3 times in total.
seeley @ Linux multiboot
Mint 17 Cinnamon
Mint 17.2 Rafaela < Deutsch English Français > Cinnamon, MATE, (Xfce)
LMDE Betsy Cinnamon + MATE
HowTo: Quickly get help
Anleitung: Wie schnelle Hilfe erhalten
User avatar
seeley
Level 7
Level 7
 
Posts: 1888
Joined: Sun Mar 07, 2010 7:20 am

Re: Quickly get help

Postby seeley on Tue Jul 01, 2014 12:00 pm

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
26 Mobile Broadband
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Tested with success on Linux Mint 17 Qiana 64 bit

After having plugged in your USB Modem, open a Terminal and
Code: Select all
lsusb
l like list
Code: Select all
Bus 001 Device 004: ID 12d1:1003 Huawei Technologies Co., Ltd. E220 HSDPA/HSUPA Modem


A window opens

SimPinUnlock.png
Provider PIN required


SetUp.png
New Mobile Broadband Connection


Country.png
Country or Region List
Last edited by seeley on Tue Jun 23, 2015 11:52 am, edited 2 times in total.
seeley @ Linux multiboot
Mint 17 Cinnamon
Mint 17.2 Rafaela < Deutsch English Français > Cinnamon, MATE, (Xfce)
LMDE Betsy Cinnamon + MATE
HowTo: Quickly get help
Anleitung: Wie schnelle Hilfe erhalten
User avatar
seeley
Level 7
Level 7
 
Posts: 1888
Joined: Sun Mar 07, 2010 7:20 am

Re: Quickly get help

Postby seeley on Tue Jul 01, 2014 12:05 pm

Next steps>

Provider.png
Select Provider from a list


BillingPlan.png
Choose Billing Plan


Confirm.png
Provider and Plan
seeley @ Linux multiboot
Mint 17 Cinnamon
Mint 17.2 Rafaela < Deutsch English Français > Cinnamon, MATE, (Xfce)
LMDE Betsy Cinnamon + MATE
HowTo: Quickly get help
Anleitung: Wie schnelle Hilfe erhalten
User avatar
seeley
Level 7
Level 7
 
Posts: 1888
Joined: Sun Mar 07, 2010 7:20 am

Re: Quickly get help

Postby seeley on Tue Jul 01, 2014 12:07 pm

Success!

Left Icon showing the Mobile Broadband Connection is active

PanelIconMB.png
Part of the Panel
PanelIconMB.png (4.95 KiB) Viewed 1583 times
Last edited by seeley on Tue Jun 23, 2015 11:52 am, edited 1 time in total.
seeley @ Linux multiboot
Mint 17 Cinnamon
Mint 17.2 Rafaela < Deutsch English Français > Cinnamon, MATE, (Xfce)
LMDE Betsy Cinnamon + MATE
HowTo: Quickly get help
Anleitung: Wie schnelle Hilfe erhalten
User avatar
seeley
Level 7
Level 7
 
Posts: 1888
Joined: Sun Mar 07, 2010 7:20 am

Re: Quickly get help

Postby seeley on Mon Jun 22, 2015 9:18 am

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
27 TIPPS
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

27.1 VLC webcam

webcam test:

If cheese is not installed / not available, you can use VLC media player:
Multimedia > VLC > Media > Open Capture Device

VLC.png
1 VLC > open media


Video de‪vice name choose /dev/video0
play

Video > Take Snapshot => automatically saved in the folder Pictures, as *.png


27.2 MicroSD

What to do, if you can' t save a file on your MicroSD card?

Possibilities:

1. The adapter has a switch to lock the card

https://en.wikipedia.org/wiki/Secure_Digital#Micro

Secure Digital, Part Features, Write-protect notch

SDcard2.png
2 SDcard unlocked + locked


"On the left side, there may be a write-protection notch. If the notch is omitted, the card can be read and written.
If the card is notched, it is read-only."

2. You don' t have the rights (especially on a multi boot system)

3. The file /proc/mounts includes the option ro instead of rw
You have to edit that file; editing /etc/fstab does not help.

In my Linux Mint 17.1 Rebecca Xfce 64 bit, the file /etc/fstab has no entry concerning my MicroSD card.
The card is plugged in and shown as an Icon on the desktop.

Code: Select all
mount
...
/dev/mmcblk0p1 on /media/seeley/MICROSD8 type vfat (rw,nosuid,nodev,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,showexec,flush,uhelper=udisks2)



Code: Select all
cat /etc/mtab
/dev/mmcblk0p1 /media/seeley/MICROSD8 vfat rw,nosuid,nodev,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,showexec,flush,uhelper=udisks2 0 0

Code: Select all
cat /proc/mounts
/dev/mmcblk0p1 /media/seeley/MICROSD8 vfat rw,nosuid,nodev,relatime,uid=1000,gid=1000,fmask=0022,dmask=0077,codepage=437,iocharset=iso8859-1,shortname=mixed,
showexec,utf8,flush,errors=remount-ro 0 0
Last edited by seeley on Sun Sep 27, 2015 9:03 am, edited 1 time in total.
seeley @ Linux multiboot
Mint 17 Cinnamon
Mint 17.2 Rafaela < Deutsch English Français > Cinnamon, MATE, (Xfce)
LMDE Betsy Cinnamon + MATE
HowTo: Quickly get help
Anleitung: Wie schnelle Hilfe erhalten
User avatar
seeley
Level 7
Level 7
 
Posts: 1888
Joined: Sun Mar 07, 2010 7:20 am

Re: Quickly get help

Postby seeley on Sun Sep 13, 2015 1:48 pm

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
28 LMDE 2: Switch DEs
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Initial point was
http://forums.linuxmint.com/viewtopic.php?f=238&t=204704
Thank you, Monsta!


LMDE 2 64 bit installed twice (DEs MATE and Cinnamon to verify both possibilities).
Installed from USB live to SSD (~ 6 min) - no Grub installed (triple boot with Mint main Grub in MBR).
Afterwards after having booted to Mint:

Code: Select all
sudo update-grub

Both LMDE installations found.
Reboot.

28.1 Add Cinnamon to MATE

Synaptic Package Manager:

Install mint-meta-debian-cinnamon

Menu / Login Window > Auto login

Make sure, that "Automatic Login" and "Timed Login" are disabled.

DisableAutoLogin.png
Login Window: Auto login


Menu / Login Window > Options
"Automatically select the last logged in user" must be disabled.

NotLastLogged.png
Login Window: Options


Reboot

Choose session:

LMDMsessionM.JPG
LMDE session - resized with Mirage


Mirage (to install): Edit / resize > change Width e.g from 2048 pixels -> 800, Height autom. to -> 600
Image size: 841 kB -> 90 kB

28.2 Add MATE to Cinnamon

Install mint-meta-debian-mate.
Forward analog.
seeley @ Linux multiboot
Mint 17 Cinnamon
Mint 17.2 Rafaela < Deutsch English Français > Cinnamon, MATE, (Xfce)
LMDE Betsy Cinnamon + MATE
HowTo: Quickly get help
Anleitung: Wie schnelle Hilfe erhalten
User avatar
seeley
Level 7
Level 7
 
Posts: 1888
Joined: Sun Mar 07, 2010 7:20 am

Re: Quickly get help

Postby seeley on Wed Sep 16, 2015 11:39 am

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
29 GParted live II
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
29.1 Addition to chapter 18
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

...............................................................................................................................................................
Preparation:

Preparing an USB device to save - later on - files / screen shots after having booted to GP live (DE fluxbox):
format as fat32 or ntfs (not ext4) - using Mint USB formatter (in this case: ntfs - label T8)
...............................................................................................................................................................

Releases of Gparted live:
http://gparted.org/news.php?item=all
19 February 2014: 0.18.0
...
07 August 2015: 0.23.0-1

Download, check md5sum, burn a CD (!) or write an image (Mint USB Image Writer).

1. Here
http://gparted.org/screenshots.php
you can see some screen shots, especially the new GParted Live boot menu (same entries as in chapter 18, other background).

Choosing "other modes"
Next window: 2nd of 4 options (upon others: safe, failsafe,...)
2. to RAM

3. keymap
4. language: 02 British English, 33: US EN
5. mode: 0 -> start x

On DE fluxbox:

gparted.jpeg
GParted live - triple boot


You c‪an use the editor leafpad with a right click on desk.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
29.2 How to save screen shots to an USB flash drive
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

To get admin rights:
Code: Select all
user@debian:~$ sudo su

To see devices/ partitions:
Code: Select all
root@debian:/home/user# fdisk -l

...
my 8 GB USB flash drive ->
...
Code: Select all
Disk /dev/sdc: 7.5 GiB, 8032092160 bytes, 15687680 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x0002e22d
Device     Boot Start      End  Sectors  Size Id Type
/dev/sdc1        2048 15684608 15682561  7.5G  7 HPFS/NTFS/exFAT



Code: Select all
root@debian:/home/user# parted -l print

...
Code: Select all
Model: JetFlash Transcend 8GB (scsi)
Disk /dev/sdc: 8032MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number  Start   End     Size    Type     File system  Flags
1      1049kB  8031MB  8029MB  primary  ntfs


2 important steps as root

1 Make directory:
Code: Select all
root@debian:/home/user# mkdir /mnt/T8

2 Mount flash drive:
Code: Select all
root@debian:/home/user# mount /dev/sdc1 /mnt/T8

To see the result:
Code: Select all
root@debian:/home/user# mount

...
Code: Select all
/dev/sdc1 on /mnt/T8 type fuseblk (rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
...


After having taken a screen shot:

A screen shot named gparted.jpeg is located in /home/user


Print working directory:
Code: Select all
root@debian:/home/user# pwd

Code: Select all
/home/user

List files (lowercase "L" like list):
Code: Select all
root@debian:/home/user# ls -l

Code: Select all
total 88
-rw-r--r-- 1 user user 85870 Sep 16 13:11 gparted.jpeg


Copy screen shot "gparted.jpeg" to USB flash drive

Code: Select all
root@debian:/home/user# cp gparted.jpeg /mnt/T8/gparted1.jpeg


Target /mnt/T8/gparted1.jpeg, because I want to save more than 1 shot.

Next shot
NOTE: The next screen shot will overwrite the "old" one!

->
Code: Select all
root@debian:/home/user# cp gparted.jpeg /mnt/T8/gparted2.jpeg

...
gparted3.jpeg
...
etc.
=> your screen shots, named gparted1.jpeg, gparted2.jpeg, gparted3.jpeg,... are saved on USB.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
29.3 Data Rescue
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

GP live:
Device / Attempt Data Rescue ...


gpDataRescue.jpeg
GP live > > Attempt Data Rescue


This option did not work on GP v. 0.18.
I did not test it on v. 0.23.
Last edited by seeley on Sun Sep 27, 2015 9:05 am, edited 1 time in total.
seeley @ Linux multiboot
Mint 17 Cinnamon
Mint 17.2 Rafaela < Deutsch English Français > Cinnamon, MATE, (Xfce)
LMDE Betsy Cinnamon + MATE
HowTo: Quickly get help
Anleitung: Wie schnelle Hilfe erhalten
User avatar
seeley
Level 7
Level 7
 
Posts: 1888
Joined: Sun Mar 07, 2010 7:20 am

Re: Quickly get help

Postby seeley on Mon Sep 21, 2015 6:45 am

The following 3 chapters
30 GParted live III: manual Partitioning
31 Installing LMDE
32 Installing LM 17.2

describe in detail how to partition a drive and install a dual boot LMDE / Linux Mint.
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
A lot of screen shots are attached, thus even a newbie should be able to follow the steps until screen shot 12 / end of PART 4.
But I recommend a beginner should install LM 17.2 (not LMDE).
This help is introducing numerous tips for newbies, I repeat very important ones:


1. To get admin rights on a live medium: most distributions "allow" that with Terminal / Konsole
Code: Select all
sudo su

2. The internal hard disk (or SSD) does' t have to be /dev/sda - normally it is, but booting from a live medium it could be e.g. dev/sdb!
The program GParted shows you - if recognized - all drives.

3. A save method to identify your USB drives: Terminal / Konsole:
Code: Select all
ls -l /dev/disk/by-id/*usb*
lowercase "L" like list


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


To overcome difficulties don't hesitate to ask for help in this Mint forum.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
30 GParted live III: manual Partitioning
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Requirement: BIOS or (U)EFI with CSM -> emulated BIOS !

PART 1 of 7

Screen shots - step by step

I will install LMDE first, because the LMDE installer has less problems than the Mint installer (ubiquity from Ubuntu) to install Grub into the MBR of an external drive
(here /dev/sdc) - my experiences (and requests for help in several forums / languages).
Installing in the MBR of the first internal drive (normally /dev/sda) should not be a problem.

To partition I use GParted live.
PartedMagic and GParted come with GParted v. 0.23, Mint: v.0.18 , LMDE: 0.19. some distros (PCLinux, Manjaro,...): v. 0.23.

I only use GParted live v. 0.22 or higher.

I ' ve partioned (msdos table) my new SSD (120 GB) for a dual boot Linux Mint Debian / Linux Mint as follows:

3 primary partitions: root1 (LMDE), root2 (LM17) and swap;
extended partition as container for 3 logical partitions: home1 (LMDE), home2 (LM17) and data exchange (ntfs).

Important: SSD Alignment check!

Note: It is not possible to specify sizes for all users. If you are unsure, ask in the forum.
RECOMMENDED FOR A ROOT PARTITION: Minimum 8 GiB, better 10 GiB - depends on DE, programs to install, wishes,...
On a hd or SSD with 250 GB or more, I would opt for 20 GB.

But you can use that dual boot partitioning as single boot partitioning:

Dual boot...label..........................single boot......label e.g.
root1.........rootLMDE...................root................rootMint
root2........ rootLM17....................home.............homeMint

Partitioning for single boot can be finalized after having established the swap partition.

Single boot:... 12 screen shots
Dual boot:...... 21 screen shots ( 12 + 9 )

It is an external SSD (shown as /dev/sdc, because my internal SSD is /dev/sda and Gparted live /dev/sdb),
but you can adopt the steps for a hd (internal or external) or an internal SSD.
One internal device: normally /dev/sda!
To check it: (as root!):

Code: Select all
fdisk -l

or
Code: Select all
parted -l print


Before partitioning normally the first step is creating a new partition table / type msdos:
Device / Create Partition Table

1
01msdos.png
Device / new partition table

Right mouse click in unallocated space -> a small window opens with 12 options - as New, Delete, Resize,..., Information.
..................................................................................................................................................................................
In my German help
Wie schnelle Hilfe erhalten
chapter 21, screen shot 1, you can see a list of all GParted options.
..................................................................................................................................................................................
Left mouse click in New -> the window "Create new partition..." appears:

2
02newprim.png
New primary partition


Make /check the following entries
Create as Primary Partition
File System ext4
New size (MiB): 16384 (1024 * 16 -> 16 GiB)
Label root, root1, rootLMDE or rootMint as desired.

Of course you can choose another size - keeping in mint factor 1024!

3
03root.png
root partition


Add
Last edited by seeley on Thu Oct 01, 2015 8:49 am, edited 40 times in total.
seeley @ Linux multiboot
Mint 17 Cinnamon
Mint 17.2 Rafaela < Deutsch English Français > Cinnamon, MATE, (Xfce)
LMDE Betsy Cinnamon + MATE
HowTo: Quickly get help
Anleitung: Wie schnelle Hilfe erhalten
User avatar
seeley
Level 7
Level 7
 
Posts: 1888
Joined: Sun Mar 07, 2010 7:20 am

Re: Quickly get help

Postby seeley on Mon Sep 21, 2015 8:00 am

PART 2 of 7

The following window arises:
4
04createp1.png
Create first primary partition


Apply

5
05sure.png
Warning


A window will open and close - no chance to make a screen shot
Create primary partition # 1 (ext4, ...GB...on /dev/...)


=>

6
06applying.png
Operation completed
Last edited by seeley on Wed Sep 23, 2015 4:51 am, edited 4 times in total.
seeley @ Linux multiboot
Mint 17 Cinnamon
Mint 17.2 Rafaela < Deutsch English Français > Cinnamon, MATE, (Xfce)
LMDE Betsy Cinnamon + MATE
HowTo: Quickly get help
Anleitung: Wie schnelle Hilfe erhalten
User avatar
seeley
Level 7
Level 7
 
Posts: 1888
Joined: Sun Mar 07, 2010 7:20 am

Re: Quickly get help

Postby seeley on Mon Sep 21, 2015 8:10 am

PART 3 of 7

Repeating the steps to create the next primary partition -
label:
dual boot: root2, rootMint; rootLM17,...
or
single boot: home, homeMint, homeLMDE,...

7
07newprim2.png
new primary partition 2


8
08createprim2.png
create primary partition 2


Creating third primary partition (swap).
RECOMMENDED: swap size = (1,2 - 1,5) * RAM size - here: 4 GiB RAM -> 6 GIB swap size.

9
09newprim3.png
create swap partition
Last edited by seeley on Mon Sep 28, 2015 11:40 am, edited 9 times in total.
seeley @ Linux multiboot
Mint 17 Cinnamon
Mint 17.2 Rafaela < Deutsch English Français > Cinnamon, MATE, (Xfce)
LMDE Betsy Cinnamon + MATE
HowTo: Quickly get help
Anleitung: Wie schnelle Hilfe erhalten
User avatar
seeley
Level 7
Level 7
 
Posts: 1888
Joined: Sun Mar 07, 2010 7:20 am

Re: Quickly get help

Postby seeley on Mon Sep 21, 2015 8:32 am

Part 4 of 7

10
10swap.png
swap partition


Summary:

11
11endSingleG.png
Overview for single boot


Partitioning for one Linux distro finished!

Check alignment:

Terminal as root: parted /dev/sda align-check opt
Device must be customized of course!
Examples:
Code: Select all
sudo parted /dev/sdc align-check opt

Code: Select all
Partition number?

Code: Select all
1

Code: Select all
1 aligned


OR
Code: Select all
sudo parted /dev/sdc align-check opt 3

->
Code: Select all
3 aligned




Note:
Of course you can establish all partitions without applying after each step:

12
12sdd7op.png
GP 0.23 / PCLinux /dev/sdd


The screen shot was taken on PCLinux (GParted v. 0.23!) - only a demonstration with a 8 GB USB flash drive.

If you are doubtful, you can take a screen shot and ask in the forum (attachment: that screen shot).
To clear all operations takes less than 1 second!

At this point partitioning for one Linux Mint operating system is completed.

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

Next parts:
Preparing dual boot
Last edited by seeley on Thu Oct 01, 2015 10:52 am, edited 7 times in total.
seeley @ Linux multiboot
Mint 17 Cinnamon
Mint 17.2 Rafaela < Deutsch English Français > Cinnamon, MATE, (Xfce)
LMDE Betsy Cinnamon + MATE
HowTo: Quickly get help
Anleitung: Wie schnelle Hilfe erhalten
User avatar
seeley
Level 7
Level 7
 
Posts: 1888
Joined: Sun Mar 07, 2010 7:20 am

Re: Quickly get help

Postby seeley on Tue Sep 22, 2015 12:21 pm

PART 5 of 7

Preparing partitions for the sond Linux distro:

First step: creating an extended partition (note: no file system) as container for several logical partitions.
In practice: no maximum number of logical partitions - I ' ve established up to 16 without any problem (booting 6 distros).

13
13extendedpart.png
unallocated space for extended partition


14
14creteExt.png
create extended partiton


Creating the first logical partition (the number always is 5, irrespective of the number of the primary partitions).
[Later on displayed as /dev/sdc5.]

15
15logicalpart1.png
unallocated space for logical partition(s)
Last edited by seeley on Sun Sep 27, 2015 9:07 am, edited 6 times in total.
seeley @ Linux multiboot
Mint 17 Cinnamon
Mint 17.2 Rafaela < Deutsch English Français > Cinnamon, MATE, (Xfce)
LMDE Betsy Cinnamon + MATE
HowTo: Quickly get help
Anleitung: Wie schnelle Hilfe erhalten
User avatar
seeley
Level 7
Level 7
 
Posts: 1888
Joined: Sun Mar 07, 2010 7:20 am

Re: Quickly get help

Postby seeley on Tue Sep 22, 2015 12:28 pm

PART 6 of 7

Label e.g. "homeLMDE"

16
16firtslogp.png
create first log. part. -> nr. 5


Second logical partition. [Later on displaed as /dev/sdc6.]

17
17logpart2.png
unallocated space for second log. part.


Label e.g. "homeMint"


18
18secondlogp.png
create second lo. part. -> nr. 6
Last edited by seeley on Sun Sep 27, 2015 9:12 am, edited 5 times in total.
seeley @ Linux multiboot
Mint 17 Cinnamon
Mint 17.2 Rafaela < Deutsch English Français > Cinnamon, MATE, (Xfce)
LMDE Betsy Cinnamon + MATE
HowTo: Quickly get help
Anleitung: Wie schnelle Hilfe erhalten
User avatar
seeley
Level 7
Level 7
 
Posts: 1888
Joined: Sun Mar 07, 2010 7:20 am

Linux Mint is funded by ads and donations.
 
PreviousNext

Return to Tutorials

Who is online

Users browsing this forum: No registered users and 14 guests