Dave Kempe wrote:
Hi, I have a GPT partition like so: #parted /dev/mapper/storagevg0-ntserveriscsi GNU Parted 1.7.1 Using /dev/mapper/storagevg0-ntserveriscsi Welcome to GNU Parted! Type 'help' to view a list of commands. (parted) p Disk /dev/mapper/storagevg0-ntserveriscsi: 1100GB Sector size (logical/physical): 512B/512B Partition Table: gpt Number Start End Size File system Name Flags 1 17.4kB 134MB 134MB Microsoft reserved partition msftres 2 134MB 1100GB 1099GB ntfs Basic data partition (parted) q And I would like to mount the ntfs basic data partion.
I prefer to use kpartx to create device mappings from lvm disk images,
it's much easier than fapping about with offsets :)

usage : kpartx [-a|-d|-l] [-v] wholedisk
       -a add partition devmappings
       -d del partition devmappings
       -l list partitions devmappings that would be added by -a
       -p set device name-partition number delimiter
       -g force GUID partition table (GPT)
       -v verbose

--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to