external USB bluray optical drive support for SystemRescueCD

Post questions about how to make a customized SystemRescueCd, and if you have problems to install new packages. Please read the handbook first.
bluraybackup
Posts: 1
Joined: 16 Jan 2015, 23:06

external USB bluray optical drive support for SystemRescueCD

Postby bluraybackup » 16 Jan 2015, 23:11

I bought a generic bluray external USB drive at Best buy recently and would like
to plug this drive into the USB port after booting SystemRescueCD so that i can burn
fsarchiver output to to the bluray Optical Disk.

Any ideas?

the USB bluray drive model is:

LG slim portable blu-ray / DVD writer
Model BP50NB40

gernot
Posts: 1127
Joined: 07 Apr 2010, 16:19

Re: external USB bluray optical drive support for SystemResc

Postby gernot » 17 Jan 2015, 07:52

You can use UDF or ISO format on the BD.

Read about mkudffs , growisofs or cdrecord.

Gernot

lasersharkz
Posts: 1
Joined: 24 Jan 2015, 16:02

Re: external USB bluray optical drive support for SystemResc

Postby lasersharkz » 24 Jan 2015, 16:09

You need at least one program for creation of file system images and one program that is able to burn data onto your desired media type.

Webpages that might be helpful:

http://www.troubleshooters.com/linux/blu-ray-backup.htm

https://wiki.archlinux.org/index.php/CD_Burning


Here's a script that i made for creating the Bluray image:

#Create Bluray UDF image file
WORK=..

set -o errexit
set -o verbose
rm -rf $WORK/bluray.udf
mkdir -p $WORK/bluray
truncate --size=25GB $WORK/bluray.udf
mkudffs $WORK/bluray.udf
mount -oloop,rw $WORK/bluray.udf $WORK/bluray
cp -v * $WORK/bluray
umount $WORK/bluray
rm -rf $WORK/bluray


Here's a script that i made for burning the Bluray image to Disc:

#Burn Bluray UDF image file to Disc

WORK=..

set -o errexit
set -o verbose

growisofs -speed=1 -Z /dev/sr0=$WORK/bluray.udf

# (get a list of device with command: hwls | grep dev)


I can give you a few more tips on how my bluray recorder works.
I removed the standard dvd burner from my dell notebook and replaced it
with an after market bluray burner that plugs into the same slot as the dvd burner on the laptop.
The replacement optical drive i found on amazon.com.

Second, when you both systemRescureCd, make sure to select option two that
lets you fully load the operating system into RAM, then you can remove
the boot disk after the operating system is load and us the same optical disc
that you booted from as a optical disk burner.

#This is the script that I use to backup my windows image from harddisk:
# this script is executed from a subdirectory of sda3 which is formated as ext3

FSA1=./win10.9879.boot.fsa
FSA2=./win10.9879.main.fsa

set -o verbose
set -o errexit

#rm -rf $FSA1 $FSA2

fsarchiver savefs $FSA1 /dev/sda1 -v
fsarchiver savefs $FSA2 /dev/sda2 -v

# checksum to prevent tampering
# (check codes match orginal before restoring)
rm -rf check.txt
md5sum $FSA1 >> check.txt
md5sum $FSA1 >> check.txt

#split --bytes=20G $FSA2


#This is the script that I use to restore my windows image from harddisk:
set -o errexit
set -o verbose

FSA1=./win10.9879.boot.fsa
FSA2=./win10.9879.main.fsa

fsarchiver restfs $FSA1 id=0,/dev/sda1 -v
fsarchiver restfs $FSA2 id=0,/dev/sda2 -v

cryquestion
Posts: 3
Joined: 31 Jan 2015, 22:27

Re: external USB bluray optical drive support for SystemResc

Postby cryquestion » 31 Jan 2015, 22:58

How to mount a blu-ray disk using system rescue so that i can read it????

I tried the script above to create a blu-ray image of a directory that i was using to store fsarchiver zip files....
That actually works from sytem rescue cd... I can now put the burn blu-ray disc into the drive and read it from windows
that was made with system rescue cd....
Let's assume i booted with option 2 to load sytem rescue entirely in the ram
so that i can use the main optical disk on my notebook (/dev/sr1) . what's the procedure
to mount the blu-ray optical disk so that i can read its file system with linux shell commands
like ls, cp, cat, etc...?



(Also, on a side note, i found that the blu-ray burn script above works faster if you change 25G to the size of the files in your
directory that you are writing to the blu-ray disc, example if directory has 10G of data use 10G instead of 25G..)

gernot
Posts: 1127
Joined: 07 Apr 2010, 16:19

Re: external USB bluray optical drive support for SystemResc

Postby gernot » 01 Feb 2015, 15:23

mkdir /mountpoint
mount /dev/sr1 /mountpoint

Gernot


Return to “Customization and installing new packages”

Who is online

Users browsing this forum: No registered users and 3 guests