Bug#688744: ext2 support for USB removable media in debian-installer

2012-09-26 Thread Brian Potkin
On Tue 25 Sep 2012 at 20:50:21 +0200, Christian PERRIER wrote:

 Quoting Brian Potkin (claremont...@gmail.com):
 
  You can use your ext2 formatted flash drive but you have to be sneaky.
  Before detecting the network hardware do Detect disks, followed by
  
 modprobe ext2
  
  and
  
 mount -text2 /dev/sdXn /media
  
  Then back to Detect network hardware.
  
 
 Indeed, mountmedia could easily try to mount an ext2|ext3|ext4 device:
 
 if ! ( media_mounted  checkcontents $MNT ); then
 # Special case for an already mounted /hd-media.
 if [ -d /hd-media ]  checkcontents /hd-media; then
 mount --bind /hd-media /media
 exit 0
 fi
 
 if ! grep -q ^vfat /proc/modules ; then
 log-output -t mountmedia modprobe -q vfat || true
 fi
 
 
 the modprobe ext2 command could be attempted there. Of course, that
 needs to be sure the ext2 module is already available. It seens this
 is what you detect disk trick is about, am I right?

It is, but I hadn't quite realised that until you pointed out above how
mountmedia is involved. Thanks.

The first time detecting network hardware is tried the ext2, ext3 and
ext4 modules get listed in modules.dep. So Detect disks isn't at all
necessary before doing a modprobe and a mount.


-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120926170021.GA16983@desktop



Bug#688744: ext2 support for USB removable media in debian-installer

2012-09-25 Thread Gasha

Package: debian-installer


Base System Installation Checklist:
[O] = OK, [E] = Error (please elaborate below), [ ] = didn't try it

Initial boot:   [O]
Detect network card:[E]
Configure network:  [ ]
Detect CD:  [ ]
Load installer modules: [ ]
Clock/timezone setup:   [ ]
User/password setup:[ ]
Detect hard drives: [ ]
Partition hard drives:  [ ]
Install base system:[ ]
Install tasks:  [ ]
Install boot loader:[ ]
Overall install:[E]


Comments:

During installation missing firmware bnx2 was reported. Installer was unable to 
copy firmware from EXT2 formatted USB flash.
Also, dialog screen does not mention supported filesystems.

I do not use windows (almost), and because of that fact do not have any FAT16 
formatted USB flash. Only ext2.
USB flash drives larger than 2 Gb are common. And formatting USB flash as ext2 
allows to carry DVD image files larger than 4 gb.

Mentioning FAT16 or FAT32 in dialog screen should be easy. Ext2 support could 
be nice also.

Gasha


--
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/50618b20.4040...@pie-dabas.net



Bug#688744: ext2 support for USB removable media in debian-installer

2012-09-25 Thread Brian Potkin
On Tue 25 Sep 2012 at 13:44:48 +0300, Gasha wrote:

 During installation missing firmware bnx2 was reported. Installer was
 unable to copy firmware from EXT2 formatted USB flash.  Also, dialog
 screen does not mention supported filesystems.

Section 6.4. of the Installation Guide points out that a FAT-formatted
USB stick is required. My experience is that the ext2/3/4 module is not
available at that stage of the install but the vfat module is.

 I do not use windows (almost), and because of that fact do not have
 any FAT16 formatted USB flash. Only ext2.  USB flash drives larger
 than 2 Gb are common. And formatting USB flash as ext2 allows to carry
 DVD image files larger than 4 gb.
 
 Mentioning FAT16 or FAT32 in dialog screen should be easy. Ext2
 support could be nice also.

You can use your ext2 formatted flash drive but you have to be sneaky.
Before detecting the network hardware do Detect disks, followed by

   modprobe ext2

and

   mount -text2 /dev/sdXn /media

Then back to Detect network hardware.


-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120925130004.GA12029@desktop



Re: Bug#688744: ext2 support for USB removable media in debian-installer

2012-09-25 Thread Gasha


There is another catch:

after firmware installation, usb flash remains as sda1, forcing system 
disk to become sdb.

and that prevents GRUB2 from installation onto correct drive.

booting into recovery mode, and doing grub-install /dev/sdb fixed that.

Maybe it is good idea to remove flash, after firmware install?
And before partitioning.

I'll test that next time...

G

On 09/25/2012 04:00 PM, Brian Potkin wrote:

On Tue 25 Sep 2012 at 13:44:48 +0300, Gasha wrote:

   

During installation missing firmware bnx2 was reported. Installer was
unable to copy firmware from EXT2 formatted USB flash.  Also, dialog
screen does not mention supported filesystems.
 

Section 6.4. of the Installation Guide points out that a FAT-formatted
USB stick is required. My experience is that the ext2/3/4 module is not
available at that stage of the install but the vfat module is.

   

I do not use windows (almost), and because of that fact do not have
any FAT16 formatted USB flash. Only ext2.  USB flash drives larger
than 2 Gb are common. And formatting USB flash as ext2 allows to carry
DVD image files larger than 4 gb.

Mentioning FAT16 or FAT32 in dialog screen should be easy. Ext2
support could be nice also.
 

You can use your ext2 formatted flash drive but you have to be sneaky.
Before detecting the network hardware do Detect disks, followed by

modprobe ext2

and

mount -text2 /dev/sdXn /media

Then back to Detect network hardware.


   



--
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/5061aded.9040...@pie-dabas.net



Bug#688744: ext2 support for USB removable media in debian-installer

2012-09-25 Thread Christian PERRIER
reassign 688744 mountmedia
thanks

Quoting Brian Potkin (claremont...@gmail.com):

 You can use your ext2 formatted flash drive but you have to be sneaky.
 Before detecting the network hardware do Detect disks, followed by
 
modprobe ext2
 
 and
 
mount -text2 /dev/sdXn /media
 
 Then back to Detect network hardware.
 

Indeed, mountmedia could easily try to mount an ext2|ext3|ext4 device:

if ! ( media_mounted  checkcontents $MNT ); then
# Special case for an already mounted /hd-media.
if [ -d /hd-media ]  checkcontents /hd-media; then
mount --bind /hd-media /media
exit 0
fi

if ! grep -q ^vfat /proc/modules ; then
log-output -t mountmedia modprobe -q vfat || true
fi


the modprobe ext2 command could be attempted there. Of course, that
needs to be sure the ext2 module is already available. It seens this
is what you detect disk trick is about, am I right?


Anyway, reassigning to the mountmedia package, which this bug pertains
to, I think.



-- 




signature.asc
Description: Digital signature


Processed: Re: Bug#688744: ext2 support for USB removable media in debian-installer

2012-09-25 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

 reassign 688744 mountmedia
Bug #688744 [debian-installer] ext2 support for USB removable media in 
debian-installer
Bug reassigned from package 'debian-installer' to 'mountmedia'.
Ignoring request to alter found versions of bug #688744 to the same values 
previously set
Ignoring request to alter fixed versions of bug #688744 to the same values 
previously set
 thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
688744: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=688744
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems


--
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/handler.s.c.134859904128884.transcr...@bugs.debian.org