Sunday, August 26, 2012

Raspberry Pi wheezy image mounted on Fedora netbook

on fedora 7 netbook:
have mounted the wheezy image, to try out the python_games.
netbook is running Fedora 17, with pygames installed.

note
Needed to find the offset via parted
as root

parted /download/2012-08-16-wheezy-raspbian.img
then within parted
(parted) unit B
(parted) print                                                            
Model:  (file)
Disk /download/2012-08-16-wheezy-raspbian.img: 1939865600B
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags: 

Number  Start      End          Size         Type     File system  Flags
 1      4194304B   62914559B    58720256B    primary  fat16        lba
 2      62914560B  1939865599B  1876951040B  primary  ext4


then mount using offset above

mount -o loop,ro,offset=62914560 /download/2012-08-16-wheezy-raspbian.img  /mnt

Then we can see the files under /mnt

No comments: