boot.iso vs. all.img

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

boot.iso vs. all.img

Postby martinw » Feb 22nd, '12, 00:17

In Installation Media page on the Wiki, it says
  • boot.iso is like a regular ISO you can burn it on an optical disc or dump it on a USB stick (see below) like any of the other Mageia ISOs.
  • all.img is an image that you dump on a USB stick using the dd command; this is explained in detail in the next section, just replace the name of the iso with all.img.

I certainly can dump boot.iso onto a USB stick, but on both my desktop and notebook, I can't boot from it. Using all.img does allow me to boot on both machines. So is the above information incorrect? Can anyone explain the difference between boot.iso and all.img? (don't be afraid to get technical!)
martinw
 
Posts: 608
Joined: May 14th, '11, 10:59

Re: boot.iso vs. all.img

Postby ozky » Feb 22nd, '12, 17:44

Both are used to network install of mageia not use to booting the system,if you want mageia to usb live you need to download mageia livecd iso from mageia website and dump it to usb flash.
Image
Mageia user
User avatar
ozky
 
Posts: 581
Joined: Jul 2nd, '11, 08:48
Location: Nakkila Finland

Re: boot.iso vs. all.img

Postby wobo » Feb 22nd, '12, 18:16

No. Both are made to boot the system and run a netinstall as described in the wiki. I did not try the image yet but worked with boot.iso several times.
wobo
---
And a new day will dawn for those who stand long
And the forests will echo with laughter
(Stairway to Heaven, Led Zeppelin)
User avatar
wobo
 
Posts: 1649
Joined: Mar 22nd, '11, 17:13

Re: boot.iso vs. all.img

Postby martinw » Feb 23rd, '12, 00:12

wobo wrote:No. Both are made to boot the system and run a netinstall as described in the wiki. I did not try the image yet but worked with boot.iso several times.

Just to be quite clear, did you get boot.iso working on a USB stick? Did you use 'dd', or another method?

I've had a similar lack of success in creating a bootable USB stick from the Mageia 2 beta 1 ISO, which is why I'm trying to understand the difference between all.img and boot.iso, in case that helps solve the problem. Some poking around shows that both boot.iso and the beta 1 ISO create recognisable partition tables, e.g. for boot.iso
Code: Select all
# fdisk /dev/sdb
...
   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1       81919       40959+  17  Hidden HPFS/NTFS

whereas all.img does not:
Code: Select all
# fdisk /dev/sdb
...
This doesn't look like a partition table
Probably you selected the wrong device.

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   ?  3223366781  3470046704   123339962   78  Unknown
/dev/sdb2   ?   432871117  1208554935   387841909+  10  OPUS
/dev/sdb3   ?  1869562563  3788792630   959615034   8b  Unknown
/dev/sdb4   ?  2639790080  2648113151     4161536    a  OS/2 Boot Manager

Note that it's this second one, with the invalid partition table, that actually boots :?
martinw
 
Posts: 608
Joined: May 14th, '11, 10:59

Re: boot.iso vs. all.img

Postby dyfi » Feb 23rd, '12, 09:36

Just a point that may be worth mentioning with this thread is that I too had difficulty in creating a bootable device using the dd command. The mistake was to copy to dev sdb1 instead of dev sdb.
dyfi
 
Posts: 35
Joined: Dec 2nd, '11, 16:25

Re: boot.iso vs. all.img

Postby wobo » Feb 23rd, '12, 16:25

martinw wrote:Just to be quite clear, did you get boot.iso working on a USB stick? Did you use 'dd', or another method?

Yes and Yes.

I look for the USB device with
Code: Select all
# fdisk -l

which returns all storage devices with all their partitions. There I see something like
Code: Select all
Platte /dev/sdb: 4127 MByte, 4127195136 Byte
64 Köpfe, 32 Sektoren/Spur, 3936 Zylinder, zusammen 8060928 Sektoren
Einheiten = Sektoren von 1 × 512 = 512 Bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x6b8b4567

   Gerät  boot.     Anfang        Ende     Blöcke   Id  System
/dev/sdb1   *           0     7096319     3548160   17  Verst. HPFS/NTFS


Now I know that /dev/sdb is teh USB device. So I do
Code: Select all
dd if=boot.iso of=/dev/sdb
This command does not create several partitions. I writes the boot.iso to the device, not to a partition.

That's all. It boots.
wobo
---
And a new day will dawn for those who stand long
And the forests will echo with laughter
(Stairway to Heaven, Led Zeppelin)
User avatar
wobo
 
Posts: 1649
Joined: Mar 22nd, '11, 17:13

Re: boot.iso vs. all.img

Postby doktor5000 » Feb 23rd, '12, 16:47

dyfi wrote:Just a point that may be worth mentioning with this thread is that I too had difficulty in creating a bootable device using the dd command. The mistake was to copy to dev sdb1 instead of dev sdb.

Yeah, you should always remember that you need to write to the whole drive (/dev/sdb) not to a partition on that drive (/dev/sdb1) as the image which you write already contains partitions.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18054
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: boot.iso vs. all.img

Postby ozky » Feb 23rd, '12, 17:21

That's why there is mandriva seed gui to dd,it's easy to use and you don't need to use konsole/terminal to seed your iso to usb flash. :D
Image
Mageia user
User avatar
ozky
 
Posts: 581
Joined: Jul 2nd, '11, 08:48
Location: Nakkila Finland

Re: boot.iso vs. all.img

Postby martinw » Feb 23rd, '12, 21:39

wobo wrote:Now I know that /dev/sdb is teh USB device. So I do
Code: Select all
dd if=boot.iso of=/dev/sdb
This command does not create several partitions. I writes the boot.iso to the device, not to a partition.


Exactly the command I used.

That's all. It boots.


Mine doesn't :( But
Code: Select all
dd if=all.img of=/dev/sdb

does.
martinw
 
Posts: 608
Joined: May 14th, '11, 10:59

Re: boot.iso vs. all.img

Postby leuhmanu » Feb 25th, '12, 02:19

Hi, iirc the boot.iso is not hybrid like the others isos, so indeed dd with this one doe'nt work.
Help the bugsquad !
User avatar
leuhmanu
 
Posts: 71
Joined: Mar 16th, '11, 00:21
Location: Alsace, France

Re: boot.iso vs. all.img

Postby wobo » Feb 25th, '12, 16:24

No, it is hybrid as it is said on the website. To be correct I just downloaded boot.iso from /<mirror>/Mageia/distrib/cauldron/x86_64/install/images/ - wrote it to a USB stick with 'dd' and booted my notebook without any problems. Then I took all.img from the same place, 'dd' it to the stick, boot the notebook, works. At first sight I see no difference in behavior, both are hybrid and both are booting.

So, that is the expected behavior and a proof that it works (at least on my machine). If it does not work on a second machine (yours) then there is a reason to be found out - but it is nothing wrong with the boot.iso or the all.img.
wobo
---
And a new day will dawn for those who stand long
And the forests will echo with laughter
(Stairway to Heaven, Led Zeppelin)
User avatar
wobo
 
Posts: 1649
Joined: Mar 22nd, '11, 17:13

Re: boot.iso vs. all.img

Postby Ken-Bergen » Feb 25th, '12, 22:02

wobo wrote:No, it is hybrid as it is said on the website. To be correct I just downloaded boot.iso from /<mirror>/Mageia/distrib/cauldron/x86_64/install/images/ - wrote it to a USB stick with 'dd' and booted my notebook without any problems. Then I took all.img from the same place, 'dd' it to the stick, boot the notebook, works. At first sight I see no difference in behavior, both are hybrid and both are booting.
I don't believe that to be the case.
The boot.iso being hybrid when dd'ed to a usb stick fools the system into thinking it's a usb attached optical drive.
The all.img on the other hand is meant to go on a usb stick and I doubt it would boot if burnt to a CD. Unfortunately I don't have a working burner to test with.
Ken
Ken-Bergen
 
Posts: 1019
Joined: Mar 30th, '11, 02:45
Location: Chilliwack, BC, Canada

Re: boot.iso vs. all.img

Postby wobo » Feb 26th, '12, 07:07

Ken-Bergen wrote:
wobo wrote:No, it is hybrid as it is said on the website. To be correct I just downloaded boot.iso from /<mirror>/Mageia/distrib/cauldron/x86_64/install/images/ - wrote it to a USB stick with 'dd' and booted my notebook without any problems. Then I took all.img from the same place, 'dd' it to the stick, boot the notebook, works. At first sight I see no difference in behavior, both are hybrid and both are booting.
I don't believe that to be the case.
The boot.iso being hybrid when dd'ed to a usb stick fools the system into thinking it's a usb attached optical drive.
The all.img on the other hand is meant to go on a usb stick and I doubt it would boot if burnt to a CD. Unfortunately I don't have a working burner to test with.

I can't test that burning thing, you may be right there. My conclusion only stands for USB stick.
wobo
---
And a new day will dawn for those who stand long
And the forests will echo with laughter
(Stairway to Heaven, Led Zeppelin)
User avatar
wobo
 
Posts: 1649
Joined: Mar 22nd, '11, 17:13

Re: boot.iso vs. all.img

Postby martinw » Feb 26th, '12, 20:34

Ken-Bergen wrote:The boot.iso being hybrid when dd'ed to a usb stick fools the system into thinking it's a usb attached optical drive.

Unfortunately, none of my three systems are fooled. Looks like I'm going to have to continue burning DVDs.
The all.img on the other hand is meant to go on a usb stick and I doubt it would boot if burnt to a CD. Unfortunately I don't have a working burner to test with.

I doubt it too.
martinw
 
Posts: 608
Joined: May 14th, '11, 10:59

Re: boot.iso vs. all.img

Postby Ken-Bergen » Feb 27th, '12, 03:04

martinw wrote:
Ken-Bergen wrote:The boot.iso being hybrid when dd'ed to a usb stick fools the system into thinking it's a usb attached optical drive.

Unfortunately, none of my three systems are fooled. Looks like I'm going to have to continue burning DVDs.
Why do you say that?
The boot.iso and the all.img do exactly the same thing but one is meant for a CD and the other a USB stick.
As you say that the boot.iso on a USB stick doesn't boot I would think you have a corrupt download. Did you check the md5sum of the iso you're using?
Ken
Ken-Bergen
 
Posts: 1019
Joined: Mar 30th, '11, 02:45
Location: Chilliwack, BC, Canada


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest

cron