General :: Growisofs & Iso File 4gb Boundary?

Jun 7, 2010

To backup files residing on my system, I've been using mkisofs to create an empty iso file, and then populating it using growisofs: (in an empty directory)

Code:
> mkisofs -graft-points -iso-level 2 -joliet -joliet-long -udf -full-iso9660-filenames -R -o myiso.iso .
> growisofs -M myiso.iso -r -J -use-the-force-luke=4gms <filetoadd>

This was working well for isos to be written to a single-layer DVD, but when I tried to add more data meant to be written to a dual-layer disc, I get this:

":-( next session would cross 4GB boundary, aborting..." I've done some searching and it seems that -use-the-force-luke should have helped, but doesn't. I assume the problems lies with mkisofs in creating an empty iso, but not sure how to get around it. I've only started dabbling with these tools in the past few days. Is it possible to create an empty iso with growisofs, or is there another way of creating an iso file that can contain enough data for a dual-layer disc? I really would like to be able to populate an empty iso as there are scripts involved & the availability of data being backed up might not be available immediately (data being sent for backup from other teams, for example).

View 4 Replies


ADVERTISEMENT

General :: How To Make Growisofs Working With Cron

Aug 9, 2010

I make a script to automate burning backup files on dvd. It works fine if I start it from root user, but if I start it. From cronjob do noting. I try on growisofs the option -use-the-force-luke=force but nothing happens. I check the env of cron:

HOME=/root
LOGNAME=root
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
PWD=/root
SHELL=/bin/bash
SHLVL=1
XDG_SESSION_COOKIE=3e0d70f7b71074a0b1fff4bb4aa97d13-1281297181.926502-724038309
_=/usr/bin/env
and it seems ok i've got my script in /usr/local/bin and growisofs in /usr/bin

Code of my script below:
#!/bin/bash
bkup_path='/bkrepo/';
prefix='PAR*';
totdimfile=0
for FILE in $(/bin/ls -r $bkup_path$prefix)

do
dimfile=`/bin/ls -l $FILE | /usr/bin/awk -F " " '{print $5}' `
let "totdimfile += dimfile";
if [ "$totdimfile" -lt "4700000000" ]
then
NAMEFILE=`/bin/ls -l $FILE | /usr/bin/awk -F " " '{print $8}' `
ALLNAMEFILE="$ALLNAMEFILE $NAMEFILE";
fi
done

/usr/bin/growisofs -use-the-force-luke=force -Z /dev/scd0 -R -J $ALLNAMEFILE
/usr/bin/growisofs -M /dev/scd0=/dev/zero
/usr/bin/eject
end code of my script

View 1 Replies View Related

General :: Partition Does Not End On Cylinder Boundary - Can't Boot Ubuntu?

Mar 3, 2011

I have a 500g hard drive using dual boot win7 and ubuntu 10.04.2. The system is boot from MBR using Grub1.98. The partitioned as the follows:

system reserve100m |win7,42g|software 100g|empty 100g|extended 253g
logic partition is as follows:
| ubuntu / 250g | swap 4g
Since I want to make use of the "empty" part. I delete it and the "software" partition under win7. Then I create a new partition on the part.
After I reboot my pc, the screen shows:
>> operating system no such partition.

[Code]...

how to resize my partition table so I can KEEP MY DATA on the ubuntu / partition. Or someway I can get my ubuntu / partition back.

View 14 Replies View Related

Fedora :: Partition 1 Does Not End On Cylinder Boundary?

Feb 11, 2010

I've been searching for a definitive answer/solution for this. Below are outputs from fdisk -l and a partition table listing from expert mode in fdisk. [root@ncc1701 ~]# fdisk -l /dev/sda

Disk /dev/sda: 500.1 GB, 500107862016 bytes 255 heads, 63 sectors/track, 60801 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x000265ce

Device Boot Start End Blocks Id System
/dev/sda1 * 1 39 307200 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2 39 60801 488076288 83 Linux

[Code]...

Some posts that I've come across indicate no problem while others indicate that it is an issue and needs to be corrected. sda1 is my /boot partition ~ 300MB and then sda2 is a LUKS volume with a LVM VG occupying the rest of the available 500GB hdd. It is my active F 12 system with no dual boot.

1. Is it a problem? 2.Can I just resize sda1 so the end does not overlap sda2? 3. And can I do this while booted from that system or do I need to do it from a LiveCD?

View 7 Replies View Related

Ubuntu :: Partition Does Not End On Cylinder Boundary?

Nov 12, 2010

i was looking at the list of my /dev/sda partition and on the first partition it says that it does not end on cylinder boundary. does is it need to be fixed? on a book that im reading it says that when you create a partition the end cylinder should be the size of the partition...

View 4 Replies View Related

Software :: Using Growisofs To Only Create An Image?

Mar 4, 2010

Can I use 'growisofs -dvd-compat -Z /dev/null' to create only the image to burn a dvd-video dvd from the VIDEO_TS, AUDIO_TS directory tree?

View 1 Replies View Related

Debian Installation :: Partition <nn> Does Not End On Cylinder Boundary?

Feb 22, 2011

I am preparing a dual boot system. Used gparted to do the partitioning. Unfortunately did not notice that one can choose to align on MB (default) or cyl (probably preferable) Now my setup is running ok but fdisk reports warnings like Partition 4 not on cylinder boundary

Looking up the net I see two conflicting views on this:

1. Forget it -- cylinders are not relevant on today's disks

2. For linux this is ok but windows may clobber the adjacent partition in such a 'non-aligned' partition

The real problem is that parted, gparted, fdisk etc are mutually inconsistent in what kind of partition table is 'good' and I dont know who to believe

View 3 Replies View Related

Ubuntu :: When Try To Burn Recording To DVD / It Fails On Growisofs

Sep 13, 2010

I'm running hauppauge 2250 tuners (2 of them, 4 tuners total).I have the tuners set up and working although when booting up they worked intermitantly until I went through backend setup and restarted the frontend.I solved this by adding a 30 second sleep before backend startup and this seems to have fixed this.I'm still having trouble with burning and ripping dvds.I can play dvds in vlc and mythtv (mythtv since adding the sleep line). but when I try to burn a recording to dvd it fails on growisofs.I get an error 1.I've set the correct region with regionset and I have the dvd codecs.

View 1 Replies View Related

Software :: Back End Of Growisofs (burning) Using Debian 5.0.4

May 7, 2010

I use growisofs to burn image or data files into DVDs. In its manpage it refered that it's a combined genisoimage frontend/DVD recording program. while in genisoimage's manpage

Note that genisoimage is not designed to communicate with the writer directly. Most writers have proprietary command sets which vary from one manufacturer to another, and you need a specialized tool to actually burn the disc. wodim is one such tool. The latest version of wodim is available from [URL]

So,genisoimage still is a front end program. so when my using growisfo to burn something, which bin was used to actually do the burning job? wodim? I am using debian 5.0.4

View 2 Replies View Related

Ubuntu Multimedia :: Input - Output Error With Growisofs

Mar 10, 2010

I use the growisofs command from the terminal to do most of my burning. Mostly because i burn almost the exact same type of file every time so its pretty easy to set up. I've done this dozens of times and never once had a problem before. I loved it because it was so much simpler than doing this in windows where i would need to install a few extra programs and codecs. That was up until today where it started failing every single time i tried to burn something.

For some reason every time i try to burn a disc it gives me this error message:

Code:

I'm really at a loss as to why this is happening. Every thread i found that discussed this problem was mostly focused on k3b or brasero and never really answered the question. As far as i know nothing has been updated since the last time i burned a disc a few days ago. Everything is exactly the same as it was when it worked. The only thing i could think of that might have caused this sudden failure is that i flashed the firmware of another cd drive using the same sata port that this drive is currently plugged into, but that was in windows so i dont see how it could have affected this drive.

View 1 Replies View Related

Red Hat / Fedora :: Read From Standard Input In 'growisofs' Command?

Jul 12, 2010

I need to create backup of internal drive and write it on DVD. I want to do this in single command...like below: ntfsclone -f --save-image --overwrite - /dev/sda1 | growisofs -Z /dev/sr1=/dev/stdin

in above command, i tried to to create backup of first partition of internal drive and need to write this backup on DVD. But above command has some probolem due to which it could not write backup on DVD....and how to read from standard input in 'growisofs' command?

View 2 Replies View Related

Fedora Installation :: Partition Does Not Start On Physical Sector Boundary?

Aug 22, 2011

fdisk -l: Disk /dev/sda: 750.2 GB, 750156374016 bytes.

[Code]...

I've tried other installations, but I always get errors like this. /dev/sda 5, 7 and 8 are occupied by PCLinuxOs. /dev/sda 9, 10, 11 and 12 by Fedora. I made room for Linux installations by GParted (last version). Really, I made no errors. The installer of PCLOS is a bit strange: it changed the NTFS partition sda5 in sda 6! In a previous installation with Fedora and Kubuntu only the extend partition sda 4 complained about not starting on physical sector boundary. The hard disk is Western Digital with Advanced Format. Probably this is the cause of the problem. The systems are snappy and responsive. I do not encounter any problem. What to do? Ignoring the problem or reinstalling? May be it would be better to get rid of PCLOS and to dual boot Windows with Fedora?

View 5 Replies View Related

Hardware :: Lost Partition Table, "does Not End On Cylinder Boundary"?

Mar 13, 2011

While trying to get Grub working on my computer, I accidentially overwrote the partition table. Luckily I did a fdisk -l and copied the information before I did anything. The problem is that the first partition "does not end on cylinder boundary" so when I recreated the partition info using fdisk, partition 2 doesn't start in the right place and cannot be read. I have some pretty valuable data on there and I can't afford to lose it. Is there a way to create a partition that doesn't start on a cylinder boundary?

View 3 Replies View Related

General :: Generated .exe File From C File - Run .exe File When Linux System Starts Up?

Apr 6, 2010

i have generated .exe file from C file (ie filename.c ) after compiling in linux machine with -O option. I wish to know about how to run that .exe file when linux system starts up ?

View 3 Replies View Related

General :: Convert Fdf File To Xsf File Or Xyz File On Ubuntu 9.10_32 Bit?

Nov 7, 2010

I want to convert fdf file to xsf file or xyz file on ubuntu 9.10_32 bit .

View 5 Replies View Related

General :: Cannot Open File In RW Mode - Filling Root File System With Log Files

Nov 3, 2010

I work for a company that makes portable devices running Linux and I was recently asked to make the underlying file system read-only for "security" purposes. Since the distribution is based on LinuxFromScratch, I know that very little writing happens at run time. So, even if the device runs on a usb flash device, I doubt that putting the root file system RO will be that beneficial. I am actually more concerned about a process actually breaking because it cannot open a file in RW mode than a process going rogue and filling the root file system with log files, etc. I'd really like to ear what kind of advantages disadvantages there really is with read-only file-systems.

View 6 Replies View Related

General :: Unable To Access File /home/username/.iceauthority: No Such File Or Directory

Apr 21, 2011

Can't log into my XFCE desktop like I normaly do. all the sudden I get notified that my xsession lasted less then 10 secondsLooking at the error I can see this:

Unable to access file /home/username/.iceauthority: No such file or directory

Using failsafe I can start a terminal. From terminal I tried to start X

Code: sudo startx Result: Running on desplay:0

So I tried to run this;

Code: sudo startxfce4 And I get up a graphical desktop.

So this is not a critical situation as I easily can use this method to log on, but as there has been something causing this I would like to be able to resolve this nonetheless. Btw it is not the old chmod trick in play here, cause my .iceauthority file is gone alltogheter.

View 6 Replies View Related

General :: 6.13 GMP-5.0.0 LFS Make Error - Cannot Open Shared Object File: No Such File Or Directory

Jun 10, 2010

I'm currently stuck at 6.13 GMP-5.0.0 of the LFS installation. After running make, I receive the following:

error while loading shared libraries: libbfd-2.20.so: cannot open shared object file: No such file or directory
make[2]: *** [libmpn.la] Error 127
make[2]: Leaving directory `/sources/gmp-5.0.0/mpn'

[code]....

View 5 Replies View Related

General :: Copy Certain File Types Recursively While Maintaining File Structure On Destination?

Jun 14, 2011

I have just been bothered by a fairly small issue for some time now. I am trying to search (using find -name) for some .jpg files recursively. This is a Redhat environment with bash.

I get this job done though I need to copy ALL of them and put them in a separate folder BUT I also need to keep the order intact after copying.

For e.g - If I get a JPG file under /home/usr/new/1/ then the destination also needs to be /test/old/new/1/.

At the moment, I am simply putting all files under /test/old/ and I can't somehow get the later /new/1/ folder path created under /test/old/

I understand this could well be done using while OR if else loop, though if someone can just guide me with a hint, I would be really grateful.

I will complete the rest of the steps and was asking here since I am still not comfortable with the shell/bash scripts yet and planning to be really good at it over the next couple of months.

View 1 Replies View Related

General :: Parsing File Dates - Get The Date Of The Last Time A File Was Modified ?

Jan 11, 2010

I need to get the modified date on a file in linux to use in a script.I tried using 'ls -l' on the file, but this caused problems when the date turned from a single digit into a double. The reason for the problem was because I was parsing the result string on spaces.How can I get the date of the last time a file was modified so I can use it in a script? For example, if a file was modified on 1/11/2010, I need the 11.

View 2 Replies View Related

General :: File Privileges - Check And Set Who Can View Or Open A Given Folder Or File?

Jul 30, 2010

How can I check and set who can view or open a given folder or file?

View 1 Replies View Related

General :: (xubuntu) Click On Webpage File And Open File With Emacs?

Aug 26, 2010

I am using xubuntu and there are a few types of files on website that instead of downloading and saving and then opening with emacs, I would rather when the radio button choice comes up say open with emacs. I am using xubuntu with xfce, and there is no line for a command to be entered as some ubuntu editions have. In the choice of changing the opening program from mousepad to something else, it says search and allows to navigate to find a program, but I cant find emacs anywhere not in etc/ or elsewhere. So where is its executable to direct the program chooser to?

View 1 Replies View Related

General :: Overwriting The Middle Of A File From A Block Device *without* Truncating File?

Jan 15, 2010

I have a Linux (Kubuntu) system with a large (~20Gb) file which I would like to mess with. Specifically, I want to copy the entire contents of another large file (~12Gb) to the middle of this file, and keep the bits of the file which are not overwritten.This is what I want to happen, with the text between the pipes representing file contents:Before:

outfile: |abcdefghijklmnopqrstuvwxyz|
infile: |123456789|
After:

[code]....

View 1 Replies View Related

General :: Read .gz File Direct On Shell/terminal Without Decompressing The File?

Dec 9, 2008

How can I read .gz file direct on shell/terminal without decompressing the file?
satimis

View 5 Replies View Related

General :: Copy File Whose Source Path Is Mentioned In File To Specified Destination

Jun 3, 2010

I had a situation in which the the path of the file to be copied is written in other file and I had to copy it using shell script..I can use cp $(cat /home/robert/location.txt) /media/sda1 on normal linux shell...But I am using buildroot script where $(cat /home/robert/location.txt) evaluate to nothing..is just blank..

View 1 Replies View Related

General :: Libgtk-x11-2.0.so.0: Cannot Open Shared Object File: No Such File Or Directory

Mar 28, 2010

I'm trying to install PCSX2 (PS2 emulator) and I get the following error: ./pcsx2: error while loading shared libraries: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory

I've followed the instructions here http://pcsx2.net/downloads.php and believe I have all the dependencies installed. My system has the following file:

/usr/lib/libgtk-x11-2.0.so.0

View 6 Replies View Related

General :: Shell Script That Adds Users Name To A File When The File Is Modified?

Mar 30, 2010

I need a shell script that will add the users name and date to a file when the user has modified the file, these files are within a group and only accessible to this group. But we need a way for people in the group to know who and when the file was last modified.

View 1 Replies View Related

General :: Changing Directory - Saved File On The Desktop - Cannot Seem To Get That File To Execute It

Mar 10, 2011

I was doing a tutorial on scripting in bash. I saved my file on the desktop and I cannot seem to get to that file to execute it. Here is what I have been using:

I try cd Desktop says that there is no such directory.

I tried /home/me/Desktop same thing.

View 5 Replies View Related

General :: Convert Binary File In To Ascii File Using Shell Script?

May 23, 2011

i am trying to convert a binary file in to ASCII using shell script. this file contains multiple types of data like string, number, bcd, etc.

View 5 Replies View Related

General :: Find Folders With ONLY One Specific File In And Delete File And Folde

Oct 21, 2009

Many folders within a subdirectory some of which have lots of data in and some of which have only one specific file called produkt.fil inside.I need a command to find and delete those folders that contain ONLY the file produkt.fil - if other files exist (doesnt matter what they are) then they should be left alone. Note: produkt.fil exists in all of the folders always.

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved