From Mageia wiki
Jump to: navigation, search
(Update MGA3 links to MGA5)
m (Quick en-GB polishing. Unable at present to test the actual process.)
Line 3: Line 3:
 
For use in multiple systems
 
For use in multiple systems
 
=Introduction=
 
=Introduction=
The aim of this howto is to do a USB Stick like a LiveCD which can start on any station, but which can store personal data and configurations. The solution which is proposed here is not a so called ''persistent stick'' as we do not separate the living part from a fixing part in different partitions. The way we propose to do it is an installation on the removable drive from a Live-DVD ISO. Here are the detailed steps.
+
The aim of this howto is to create a USB Stick, like a LiveCD, which can boot on any suitable computer, but which can store personal data and configurations. The solution proposed here is not a so called ''persistent stick'' as we do not separate the live data from the fixed data in different partitions. This method creates a conventional Mageia installation on a USB Flash Drive using a Live-DVD ISO.  
  
Warning: if you specify a wrong device, you can lose all your data. It can be a good precaution to stop your internal disk or to do a backup before to process to the creation of the stick .
+
Here are the detailed steps:
 +
 
 +
{{Warning|If you specify the wrong device to write the system to, you can lose all your data. If you are not absolutely sure you are writing to the correct disk, disconnect your internal disk or do a backup before creating the stick.}}
  
 
=Partitioning the USB stick=
 
=Partitioning the USB stick=
We suggest to use the [https://www.mageia.org/en/downloads/get/?q=Mageia-5-LiveDVD-KDE4-i586-DVD.iso LiveDVD-KDE-i586] or the [https://www.mageia.org/en/downloads/get/?q=Mageia-5-LiveDVD-GNOME-i586-DVD.iso LiveDVD-GNOME-i586]. The 64bits architecture can be used but is less universal. The CDs are less complete.
+
We suggest to use the [https://www.mageia.org/en/downloads/get/?q=Mageia-5-LiveDVD-KDE4-i586-DVD.iso LiveDVD-KDE-i586] or the [https://www.mageia.org/en/downloads/get/?q=Mageia-5-LiveDVD-GNOME-i586-DVD.iso LiveDVD-GNOME-i586]. The 64bit architecture can be used but is less universal. The CDs only contain essential drivers and this stick needs a comprehensive set of drivers to handle all the hardware it may be plugged into.
  
Perform an installation from the running live system. At the [https://doc.mageia.org/installer/5/en/content/doPartitionDisks.html partitioning step], choose the USB stick as the drive disk. Select ''Use an existing partitions'' if you have already prepared your partition. Else, select ''Custom disk partition'', an prepare only one partition with the full space on the stick. The option ''Erase and use entire disk'' is not adapted, because it would create the separated partitions.
+
Perform an installation from the running live system. At the [https://doc.mageia.org/installer/5/en/content/doPartitionDisks.html partitioning step], choose the USB stick as the drive disk. Select ''Use existing partitions'' if you have already prepared your partition. Otherwise, select ''Custom disk partition'', and create a single partition using the full space on the stick. The option ''Erase and use entire disk'' is not suitable because it would create several partitions that may not always be supported on the host hardware.
  
 
Select the expert mode and, in ''options'', check the option ''noatime''.
 
Select the expert mode and, in ''options'', check the option ''noatime''.
  
 
=Installing the boot loader=
 
=Installing the boot loader=
You have to install the boot loader in the MBR (master boot record) of your stick.
+
You have to install the boot loader in the MBR (master boot record) of your USB stick.
  
 
Continue the installation according to your choices until the [https://doc.mageia.org/installer/5/en/content/misc-params.html summary step].
 
Continue the installation according to your choices until the [https://doc.mageia.org/installer/5/en/content/misc-params.html summary step].
  
In ''system'', configure the ''Bootloader''. In the first screen you get, select ''GRUB2'' as bootloader and your stick as ''Boot device'', like /dev/sdb. Keep only entries for the present installation. ''lilo'' and ''grub'' are not adapted to manage the change in the naming of disk drives.
+
In ''system'', configure the ''Bootloader''. In the first screen you get, select ''GRUB2'' as bootloader and your stick as ''Boot device'', like ''/dev/sdb''. Keep only entries for the present installation. ''lilo'' and ''grub'' are not able to manage the change in the naming of disk drives and should not be used.
  
 
=Final step=
 
=Final step=
You will be asked if you want to delete unused drivers. KEEP THEM to have an universal system able to manage different configurations.
+
You will be asked if you want to delete unused drivers. Don't. KEEP THEM to have an universal system able to manage different configurations.
  
 
After the final steps of the installation, your stick is ready. Enjoy !
 
After the final steps of the installation, your stick is ready. Enjoy !
  
The information is coming from this [https://forums.mageia.org/en/viewtopic.php?f=7&t=5090 discussion].
+
The information originated from [https://forums.mageia.org/en/viewtopic.php?f=7&t=5090 discussion].

Revision as of 16:34, 27 September 2016

this page is a draft.
It requires improvements. If you want to improve it, simply log in and click on the Edit tab.

Please remove this {{Draft}}template, when you're sure the page is complete and correct.


View the other draft pages, or other pages to improve and maintain.

For use in multiple systems

Introduction

The aim of this howto is to create a USB Stick, like a LiveCD, which can boot on any suitable computer, but which can store personal data and configurations. The solution proposed here is not a so called persistent stick as we do not separate the live data from the fixed data in different partitions. This method creates a conventional Mageia installation on a USB Flash Drive using a Live-DVD ISO.

Here are the detailed steps:

Warning!
If you specify the wrong device to write the system to, you can lose all your data. If you are not absolutely sure you are writing to the correct disk, disconnect your internal disk or do a backup before creating the stick.

Partitioning the USB stick

We suggest to use the LiveDVD-KDE-i586 or the LiveDVD-GNOME-i586. The 64bit architecture can be used but is less universal. The CDs only contain essential drivers and this stick needs a comprehensive set of drivers to handle all the hardware it may be plugged into.

Perform an installation from the running live system. At the partitioning step, choose the USB stick as the drive disk. Select Use existing partitions if you have already prepared your partition. Otherwise, select Custom disk partition, and create a single partition using the full space on the stick. The option Erase and use entire disk is not suitable because it would create several partitions that may not always be supported on the host hardware.

Select the expert mode and, in options, check the option noatime.

Installing the boot loader

You have to install the boot loader in the MBR (master boot record) of your USB stick.

Continue the installation according to your choices until the summary step.

In system, configure the Bootloader. In the first screen you get, select GRUB2 as bootloader and your stick as Boot device, like /dev/sdb. Keep only entries for the present installation. lilo and grub are not able to manage the change in the naming of disk drives and should not be used.

Final step

You will be asked if you want to delete unused drivers. Don't. KEEP THEM to have an universal system able to manage different configurations.

After the final steps of the installation, your stick is ready. Enjoy !

The information originated from discussion.