Roland XV-5080
From Bashlinux
How to setup an SD card to mount multiple SCSI virtual volumes
- Create and empty volume image with
dd
$ dd if=/dev/zero of=/rum/media/bashlinux/BlueSCSI/HD40_512.hda
- The
HD40
part of the name means the volume will be presented as a volume with theSCSCI ID 4 on LUN0 - The
512
part of the name means the sector size is 512 bytes
- Partition the volume with
fdisk
$ fdisk /run/media/bashlinux/BlueSCSI/HD40_512.hda fdisk> n (new) fdisk> p (primary) fdisk> <ENTER> (first sector) fdisk> <ENTER> (last sector) fdisk> t (type of partition) fdisk> b (W95 Fat 32) fdisk> w (write partition table and exit)
- Check the volume
$ fdisk -l /run/media/bashlinux/BlueSCSI/HD40_512.hda
Disk /run/media/bashlinux/BlueSCSI/HD40_512.hda: 12 GiB, 12884901888 bytes, 25165824 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0xa51b5b29
Device Boot Start End Sectors Size Id Type /run/media/bashlinux/BlueSCSI/HD40_512.hda1 2048 25165823 25163776 12G b W95 FAT32
- Mount the volume image
$ sudo losetup -fP /run/media/bashlinux/BlueSCSI/HD40_512.hda $ losetup -a /dev/loop0: []: (/path/to/another/image) /dev/loop1: []: (/run/media/bashlinux/BlueSCSI/HD40_512.hda1)
- Create a DOS partition
$ sudo mkfs.msdos /dev/loop1p1 $ sudo fatlabel /dev/loop1p1 XV-5080_GP
- Mount the volume image
$ sudo mount /dev/loop1p1 /mnt
- Copy over anything needed on to be transferred to the volume
$ sudo rsync -avz /path/to/samples/ /mnt/
- Umount the volume and loopback defice
$ sudo umount /mnt $ sudo losetup -d /dev/loop1
- Attach the SD card into the BlueSCSI
- Connect the BlueSCSI device into the XV-5080, then power the XV-5080 on