Page 1 of 3

[SOLVED] Live Usb install procedure

PostPosted: Mar 6th, '12, 20:58
by Garthhh
I have the dvd ISO downloaded
unetbootin doesn't work
madriva seed seems to be for windows

I have several 4g xdhd cards & a kingston usb reader
I haven't been able to find a clear set of instructions for creating a Mageia live usb

ultimately I would like to have a full install on a 16g usb flash drive

Re: Live Usb install procedure

PostPosted: Mar 6th, '12, 21:55
by doktor5000
Take a look at our wiki: https://wiki.mageia.org/en/Installation ... B_stick.3F
You can also install onto any flash drive.

Re: Live Usb install procedure

PostPosted: Mar 6th, '12, 22:10
by Garthhh
The instructions are not clear to me
when I follow the link, I see a large list of files
I'm guessing that it's the 2nd from the bottom
mandriva-seed.sh
described as a shell script
I'm then directed to
If you're running Linux, download mandriva-seed.sh, then launch it from terminal:sh mandriva-seed.sh
no idea what that means

Re: Live Usb install procedure

PostPosted: Mar 6th, '12, 22:23
by doktor5000
For which part you don't know what it means?

But i may just quote the relevant parts here:
The dd command: (This works well for both the live and DVD .iso files)
Make sure to back up any important data on the USB stick, as this procedure will remove any data on the stick
Make sure the stick isn't mounted
Open a terminal emulator (gnome-terminal, konsole, xterm... etc) and switch to the root user (using **su**)
cd to the directory containing the ISO then execute this command:

Code: Select all
dd if=mageia-iso-file-name.iso of=/dev/<device node of the usb stick>


to find the device node assigned to the USB stick, consult the output of 'dmesg'; since this method uses the whole usb stick you have to specify the node of the device and not of a partition on the device (e.g. use /dev/sde not /dev/sde1); you should be very careful when using this method because writing the image to an SCSI or SATA hard disk will render it unbootable and destroy some data on it.

Re: Live Usb install procedure

PostPosted: Mar 6th, '12, 22:27
by alf
Garthhh wrote:The instructions are not clear to me
when I follow the link, I see a large list of files
I'm guessing that it's the 2nd from the bottom
mandriva-seed.sh
described as a shell script
I'm then directed to
If you're running Linux, download mandriva-seed.sh, then launch it from terminal:sh mandriva-seed.sh
no idea what that means


well, you have to download mandriva-seed.sh and run it in a terminal/konsole. Unfortunately the link is an ftp link and the script is then opend in browser. Alter the URL in browser to http and you will be able to downlod the script. But I think if you are working with linux the easiest way to put the iso on a usb-key is to use dd.

Re: Live Usb install procedure

PostPosted: Mar 7th, '12, 01:55
by Ken-Bergen
alf wrote:Unfortunately the link is an ftp link and the script is then opend in browser. Alter the URL in browser to http and you will be able to downlod the script. But I think if you are working with linux the easiest way to put the iso on a usb-key is to use dd.
No need to go to an http site as right clicking on the ftp link gives you a "Save link as" option.
The beauty of mandriva_seed.sh is that it will only write to a USB drive thus no possibility of wiping your hard drive.

Re: Live Usb install procedure

PostPosted: Mar 7th, '12, 08:51
by Garthhh
Thanks for replying
a bit beyond my skill set
I don't know what
"device node of usb stick" means
When I go to MCC > Hardware > Manage Disk Partitions, the target flash drive is sbc
my ability to understand cli speak is very limited
I can't afford to break this pc
what would an example of an actual dd command look like?
having the explanations interspersed with the command, assures that I will cast about trying to figure out, which part of the syntax I've screwed up
I see that dolphin will open a konsole in the proper directory, nice..

any idea of when the live cd torrent for m2 will be fixed?
why isn't there a nice gui in mcc?

Re: Live Usb install procedure

PostPosted: Mar 7th, '12, 08:57
by Garthhh
Ken-Bergen wrote:
alf wrote:Unfortunately the link is an ftp link and the script is then opend in browser. Alter the URL in browser to http and you will be able to downlod the script. But I think if you are working with linux the easiest way to put the iso on a usb-key is to use dd.
No need to go to an http site as right clicking on the ftp link gives you a "Save link as" option.
The beauty of mandriva_seed.sh is that it will only write to a USB drive thus no possibility of wiping your hard drive.


thanks
even works in opera
I'll try that after I've had some sleep

Re: Live Usb install procedure

PostPosted: Mar 7th, '12, 12:13
by doktor5000
Garthhh wrote:When I go to MCC > Hardware > Manage Disk Partitions, the target flash drive is sbc
[...]
what would an example of an actual dd command look like?

So /dev/sdc would be the "device node". Also if you had read that part of the wiki article,
there's an explanation how you can find that out, and below there's also an example and some additional hints:
https://wiki.mageia.org/en/Installation ... SB_example
Is that really so hard to understand?

Re: Live Usb install procedure

PostPosted: Mar 9th, '12, 09:23
by Garthhh
Ken-Bergen wrote:
alf wrote:Unfortunately the link is an ftp link and the script is then opend in browser. Alter the URL in browser to http and you will be able to downlod the script. But I think if you are working with linux the easiest way to put the iso on a usb-key is to use dd.
No need to go to an http site as right clicking on the ftp link gives you a "Save link as" option.
The beauty of mandriva_seed.sh is that it will only write to a USB drive thus no possibility of wiping your hard drive.


I have mandriva seed
& can open it with kwrite
not sure how to get it on konsole?

Re: Live Usb install procedure

PostPosted: Mar 9th, '12, 09:59
by Ken-Bergen
Garthhh wrote:I have mandriva seed
& can open it with kwrite
not sure how to get it on konsole?
In a konsole cd to where you downloaded it then
Code: Select all
sh ./mandriva-seed.sh

Re: Live Usb install procedure

PostPosted: Mar 9th, '12, 19:16
by Garthhh
Ken-Bergen wrote:
Garthhh wrote:I have mandriva seed
& can open it with kwrite
not sure how to get it on konsole?
In a konsole cd to where you downloaded it then
Code: Select all
sh ./mandriva-seed.sh

OK
I'm trying for the whole 9 yards, which to me is no entering commands on a terminal
I know using a terminal is 2nd nature for many
but it can't be described as user friendly
being able to get mageia on a stick is one of those things that will bring in more users

so far the procedure using mageia1 KDE
1] go to ftp://distrib-coffee.ipsl.jussieu.fr/pu ... so/2010.0/ right click on the Mandriva seed sh file [2nd from the bottom]
2] once you have it onboard right click on it open properties, click on permissions tab & change permission run as executable

I'm stuck after that, when I right click on the mandriva-seed.sh file>open with>other>tools>system tools>konsole
a terminal starts to open & then closes

Re: Live Usb install procedure

PostPosted: Mar 9th, '12, 20:02
by alf
Garthhh wrote:I'm stuck after that, when I right click on the mandriva-seed.sh file>open with>other>tools>system tools>konsole
a terminal starts to open & then closes


Once the script is made executable a doubleclick should do the job, otherwise by klicking right say "open with bash" and "open in terminal".

Re: Live Usb install procedure

PostPosted: Mar 9th, '12, 20:09
by wobo
To me it is one of those breathtaking miracles about modern Linux how far people go, just to avoid to write a few characters on the command line.

Re: Live Usb install procedure

PostPosted: Mar 9th, '12, 20:21
by alf
at least it seems to me it is not the inability to read and write :D

Re: Live Usb install procedure

PostPosted: Mar 9th, '12, 20:26
by wobo
No, it must be something like we know from our kid's days (or from Mr. Monk) - "You must not step on these lines, something horrible will happen if you do!"
Psychology must have a multi-syllable word for that :)

Re: Live Usb install procedure

PostPosted: Mar 9th, '12, 20:54
by doktor5000
Terminal Phobia

Do i get bonus points for the intended pun and it being abiguous, now?

Re: Live Usb install procedure

PostPosted: Mar 9th, '12, 21:04
by wobo
Thank you, Mr. Freud.
Still to be researched is the possible impact of unresolved problems with their mother in those user's childhood on the evolution/outbreak of this phobia (fear to look at black/dark surfaces?).

Re: Live Usb install procedure

PostPosted: Mar 9th, '12, 21:23
by alf
doktor5000 wrote:Terminal Phobia
Could be the right diagnostics, dear doctor. But if we will furthermore discuss this offtopic I've another explanation:
For the elder of us cli was the first and only possibility to contact a computer, the younger people grew up using playstation controllers. They can't even imagine that there are other ways of man-machine communication than pushing controller(mouse)-buttons :D

Re: Live Usb install procedure

PostPosted: Mar 9th, '12, 21:42
by doktor5000
alf wrote:For the elder of us cli was the first and only possibility to contact a computer, the younger people grew up using playstation controllers.

:lol: But also rather true, and good observation.

Re: Live Usb install procedure

PostPosted: Mar 10th, '12, 15:57
by Garthhh
alf wrote:
Garthhh wrote:I'm stuck after that, when I right click on the mandriva-seed.sh file>open with>other>tools>system tools>konsole
a terminal starts to open & then closes


Once the script is made executable a doubleclick should do the job, otherwise by klicking right say "open with bash" and "open in terminal".


a double click has the same effect as a right click open with a terminal
I see a terminal open & then close in a flash

Re: Live Usb install procedure

PostPosted: Mar 10th, '12, 16:36
by alf
Garthhh wrote:a double click has the same effect as a right click open with a terminal
I see a terminal open & then close in a flash


Yes, that's quite right, as mandriva-seed.sh is so called "self extracting archive". It opens a terminal, extracts itself and run the embedded program. If not, there's anything wrong with the script.

But all this time you spent mandriva-seed.sh to get work, you had put the iso onto a usb-stick 10 times by using the 'dd' command.

Re: Live Usb install procedure

PostPosted: Mar 10th, '12, 16:52
by Garthhh
wobo wrote:To me it is one of those breathtaking miracles about modern Linux how far people go, just to avoid to write a few characters on the command line.


I'll own that
I don't want anything to do with editing configuration files or doing things on a dos prompt
I can do it.but I don't enjoy it, I have trouble concentrating hard enough, to get it right
I hear a noise like charlie browns teachers [wah ,wah, wahhh]
I've had the bad keystroke wipe my system

I started on a wang with 10k of memory in 1976
I spent maybe 25 years on the hardware side of PLC's
sifting through lines of ladder logic never held any interest for me

live install on a usb is one of those must have's for any distro
mcc is very good, but there are some holes

We are coming to a time when there will be the potential for many new users
XP is going to hit end of life
Mageia can be a viable option for these people
grandma ain't much of a code monkey

Re: Live Usb install procedure

PostPosted: Mar 10th, '12, 22:57
by doktor5000
And you used up approx. two hours to post here and fiddle with getting it working via the GUI.

BTW under Windows you can easily use Rufus http://rufus.akeo.ie/ to transfer an ISO to a flash drive.

Re: Live Usb install procedure

PostPosted: Mar 11th, '12, 00:22
by alf
Garthhh didn't tell us something about the mageia release he works with. I just made a test, in mageia1 mandriva-seed works fine but doesn't work in mageia 2 beta.