Bug 8830 - 3_b2: Mageia-3-beta2-x86_64-DVD.iso does not fit on 4 gig memory stick
Summary: 3_b2: Mageia-3-beta2-x86_64-DVD.iso does not fit on 4 gig memory stick
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: Release (media or process) (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Anne Nicolas
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 5140
  Show dependency treegraph
 
Reported: 2013-01-26 19:39 CET by Bit Twister
Modified: 2013-03-10 03:02 CET (History)
3 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments

Description Bit Twister 2013-01-26 19:39:24 CET
Description of problem:

Mageia-3-beta2-x86_64-DVD.iso does not fit on 4 gig memory stick

Version-Release number of selected component (if applicable):


How reproducible: Always


Steps to Reproduce:
1. dd bs=1M if=/dev/zero of=/dev/sdg count=
2. dd bs=1M of=/dev/sdg if=Mageia-3-beta2-x86_64-DVD.iso
Manuel Hiebel 2013-01-26 22:20:00 CET

CC: (none) => ennael1
Blocks: (none) => 5140

Comment 1 Thomas Backlund 2013-01-26 23:05:09 CET
Well, technically a single layer DVD ISO is allowed to be 4.3 GB, wich means
you need a 8GB stick to copy it on.

But I agree, if possible we could try to keep it possible to use 4GB usb sticks...

CC: (none) => tmb

Anne Nicolas 2013-03-09 21:53:44 CET

Assignee: bugsquad => ennael1

Comment 2 Manuel Hiebel 2013-03-09 22:04:54 CET
Seems still valid with the beta3, how can we know, how much the iso too big is ?

dd: écriture de « /dev/sdb »: Aucun espace disponible sur le périphérique
3936+0 enregistrements lus
3935+0 enregistrements écrits
4126146560 octets (4,1 GB) copiés, 762,108 s, 5,4 MB/s
Comment 3 Bit Twister 2013-03-10 02:40:11 CET
(In reply to Manuel Hiebel from comment #2)
> Seems still valid with the beta3, how can we know, how much the iso too big
> is ?

A quick, untested, script snippet follows:


_iso_fn=/loc_of_iso/iso_fn_here
_max_size=whatever_size_you_decide_on_here

_iso_size=$(stat --format=%s $_iso_fn)

if [ $_iso_size -gt $_max_size ] ; then
  _size=$(echo "$_iso_size - $_max_size" | bc)
  echo "$_iso_fn is $_size bytes too large to fit on $_max_size media"
  exit 1
fi
Comment 4 Manuel Hiebel 2013-03-10 03:02:34 CET
ok will keep this in mind thanks, anyway, anne removed some rpms.

Status: NEW => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.