LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-14-2003, 03:45 PM   #1
mla
Member
 
Registered: Sep 2003
Location: Canada
Posts: 86

Rep: Reputation: 15
LifeBoat config ???


I am using USB cd writer. It is detected by my RH9.
I didn't burn cds yet but I played cd...

Do I have to change default in config file?
Thanks.
Michael.


CDR_DEVICE
The CDR_DEVICE is the scsi address of your CD-RW.
The default is: CDR_DEVICE="0,0,0"


IDESCSI=
If your CD-RW is on /dev/hdd and uses ide-scsi emulation then enter:
IDESCSI="hdd=ide-scsi"
The default is: IDESCSI="hdb=ide-scsi"
 
Old 10-14-2003, 08:08 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Linux Mint 17, Debian 8
Posts: 7,863

Rep: Reputation: 311Reputation: 311Reputation: 311Reputation: 311
Hi,

I am the person who wrote LifeBoat. I have not tested it on a USB CD writer because I do not own one. You are the first person that I know of who has tried to use LifeBoat to burn a USB CD. So I guess you are my guinea penguin on USB CD writers.

I looked at the following link to see what is involved with writing CDs on a USB CD writer:
http://www.tuxmobil.org/linux_usb_cd.html

From what I read there I would say that CDR_DEVICE="0,0,0" should work just like it does for an IDE CD writer. If your CD writer is the first (or only) scsi device on your system then its device number is 0,0,0. If it is the second scsi device then its number is 1,0,0 and so on.

If you set the CDR_DEVICE parameter incorrectly then LifeBoat will not burn a LifeBoat CD.

I can only guess about IDESCI=. The purpose of this parameter is to tell the kernel to use the scsi modules for a device that is configured as IDE. If your USB CD writer is configured as a native scsi device then you do not need IDESCI and you should set it to null: IDESCSI= If your USB writer is configured as native IDE then you need an IDESCI parameter to tell LifeBoat which IDE device is being run as a scsi device.

The IDESCSI parameter is needed by the LifeBoat kernel at boot. If you set it incorrectly the only problem that will happen is that the LifeBoat rescue CD will not be able to write CDs, something that people rarely do in rescue mode anyway.

Also if you need the IDESCSI parameter then you also need it for your desktop kernel. You should have the parameter in your bootloader, either grub or lilo.

If you don't get LifeBoat to burn a CD on the first try or two then I suggest that you first learn to burn an ordinary ISO9660 data CD, then tell me how to do that on an USB CD writer and I could probably tell you how to make it work in LifeBoat.

In any case I would like you to let me know how things work out in detail so that I can do whatever is necessary to make LifeBoat work on USB CD.


___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites

Last edited by jailbait; 10-14-2003 at 08:10 PM.
 
Old 10-14-2003, 10:45 PM   #3
mla
Member
 
Registered: Sep 2003
Location: Canada
Posts: 86

Original Poster
Rep: Reputation: 15
Nice to meet you Mr. Creator!

Steve,
I post the same question on another forum since here was no
answers and I received one:

Re:LifeBoat config
« Reply #1 on: October 14, 2003, 07:52:59 PM » Reply with quote

--------------------------------------------------------------------------------
for me, I have an USB 2.0 CD-RW that just works out of the box. I plug it in, and X CD Roast just sees it.

What does (as root)

cdrecord --scanbus

show?
__________________________________________________

I did that. May the output will tell you something.
login as: root
root@xxxxx's password:
Last login: Tue Oct 14 22:12:26 2003 from 10.0.0.10
[root@RH9 root]# cdrecord --scanbus
Cdrecord 2.0 (i686-pc-linux-gnu) Copyright (C) 1995-2002 Jörg Schilling
cdrecord: No such file or directory. Cannot open '/dev/pg*'. Cannot open SCSI dr
iver.
cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you are root.
cdrecord: For possible transport specifiers try 'cdrecord dev=help'.

Looks like it will not work for me.
But I will try tomorrow at work and will let you know...

Thanks.
Michael.
 
Old 10-15-2003, 10:29 AM   #4
mla
Member
 
Registered: Sep 2003
Location: Canada
Posts: 86

Original Poster
Rep: Reputation: 15
Hello Steve,
sorry,
yesterday my colegue took this removable writer and after didn't plugin the power.
Yesterday I run scanbus through ssh to my office RH....
)
I will try to create LifeBoat now.
Looks like everythinf is fine.
This is today's result:

[root@RH9 root]# cdrecord --scanbus
Cdrecord 2.0 (i686-pc-linux-gnu) Copyright (C) 1995-2002 J?rg Schilling
Linux sg driver version: 3.1.24
Using libscg version 'schily-0.7'
scsibus0:
0,0,0 0) 'HP ' 'CD-Writer+ 8200 ' '1.0f' Removable CD-ROM
0,1,0 1) *
0,2,0 2) *
0,3,0 3) *
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *
 
Old 10-15-2003, 11:31 AM   #5
mla
Member
 
Registered: Sep 2003
Location: Canada
Posts: 86

Original Poster
Rep: Reputation: 15
Steve,
I created cd. When I boot computer hangs on line:

RAMDISK: Compressed image found at block 0.

What is wrong?

Here is out of disk creation:

[root@RH9 LifeBoat-0.2]# ./lifeboat

begin config processing
CDR_DEVICE=0,0,0
CDR_SPEED=
DISTRO=generic
IDESCSI=hdb=ide-scsi
KERNEL=/boot/vmlinuz
MANPAGES=yes
MYNAME=STITES
RAMDISK_SIZE=250
end config processing

250+0 records in
250+0 records out
mke2fs 1.32 (09-Nov-2002)
Filesystem label=
OS type: Linux
Block size=1024 (log=0)
Fragment size=1024 (log=0)
64000 inodes, 256000 blocks
12800 blocks (5.00%) reserved for the super user
First data block=1
32 block groups
8192 blocks per group, 8192 fragments per group
2000 inodes per group
Superblock backups stored on blocks:
8193, 24577, 40961, 57345, 73729, 204801, 221185

Writing inode tables: done
Writing superblocks and filesystem accounting information: done

This filesystem will be automatically checked every 38 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.

begin generic processing
cp: cannot stat `/bin/eject': No such file or directory
cp: cannot stat `/bin/guessfstype': No such file or directory
cp: cannot stat `/sbin/cfdisk': No such file or directory
cp: cannot stat `/sbin/killproc': No such file or directory
cp: cannot stat `/sbin/pidofproc': No such file or directory
cp: cannot stat `/sbin/start_daemon': No such file or directory
cp: cannot stat `/usr/bin/basename': No such file or directory
cp: cannot stat `/usr/bin/chroot': No such file or directory
cp: cannot stat `/usr/bin/grep': No such file or directory
cp: cannot stat `/usr/bin/loadkeys': No such file or directory
cp: cannot stat `/usr/bin/nice': No such file or directory
cp: cannot stat `/usr/bin/sed': No such file or directory
cp: cannot stat `/usr/bin/zcat': No such file or directory
cp: cannot stat `/usr/lib/awk/*': No such file or directory
cp: cannot stat `/usr/sbin/parted': No such file or directory
cp: cannot stat `/usr/share/kbd/keymaps/i386/include/*': No such file or directory
cp: cannot stat `/usr/share/kbd/keymaps/i386/qwerty/*': No such file or directory
cp: cannot stat `/usr/bin/catman': No such file or directory
cp: cannot stat `/usr/bin/mandb': No such file or directory
cp: cannot stat `/usr/lib/man-db/*': No such file or directory
cp: cannot stat `/usr/sbin/accessdb': No such file or directory
cp: cannot stat `/var/adm/fillup-templates/sysconfig.cron-man': No such file or directory
cp: cannot stat `/var/cache/man/index.db': No such file or directory
end generic processing

begin addons processing
end addons processing

89M .of ramdisk used out of 250M allocated.

Size of boot image is 4 sectors -> No emulation
25.20% done, estimate finish Wed Oct 15 10:53:12 2003
50.42% done, estimate finish Wed Oct 15 10:53:10 2003
75.56% done, estimate finish Wed Oct 15 10:53:10 2003
Total translation table size: 2048
Total rockridge attributes bytes: 752
Total directory bytes: 0
Path table size(bytes): 10
Max brk space used 4000
19856 extents written (38 Mb)
Cdrecord 2.0 (i686-pc-linux-gnu) Copyright (C) 1995-2002 J?rg Schilling
Using libscg version 'schily-0.7'
Device type : Removable CD-ROM
Version : 2
Response Format: 1
Vendor_info : 'HP '
Identifikation : 'CD-Writer+ 8200 '
Revision : '1.0f'
Device seems to be: Generic mmc CD-RW.
Using generic SCSI-3/mmc CD-R driver (mmc_cdr).
Driver flags : MMC SWABAUDIO
Supported modes: TAO PACKET SAO SAO/R96R RAW/R96R

starting to burn STITES LIFEBOAT SYSTEM

Cdrecord 2.0 (i686-pc-linux-gnu) Copyright (C) 1995-2002 J?rg Schilling
scsidev: '0,0,0'
scsibus: 0 target: 0 lun: 0
Linux sg driver version: 3.1.24
Using libscg version 'schily-0.7'
Device type : Removable CD-ROM
Version : 2
Response Format: 1
Vendor_info : 'HP '
Identifikation : 'CD-Writer+ 8200 '
Revision : '1.0f'
Device seems to be: Generic mmc CD-RW.
Using generic SCSI-3/mmc CD-R driver (mmc_cdr).
Driver flags : MMC SWABAUDIO
Supported modes: TAO PACKET SAO SAO/R96R RAW/R96R
Starting to write CD/DVD at speed 4 in real TAO mode for single session.
Last chance to quit, starting real write 0 seconds. Operation starts.
Track 01: Total bytes read/written: 40665088/40665088 (19856 sectors).

STITES LIFEBOAT SYSTEM has been successfully created

[root@RH9 LifeBoat-0.2]#
 
Old 10-15-2003, 04:58 PM   #6
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Linux Mint 17, Debian 8
Posts: 7,863

Rep: Reputation: 311Reputation: 311Reputation: 311Reputation: 311
"What is wrong?"

The LifeBoat ramdisk is probably too big for your computer memory.

Set:
RAMDISK_SIZE=110

"cp: cannot stat `/bin/eject': No such file or directory"

You can probably get rid of these error messages by setting the DISTRO variable to the name of your distribution.

Also you shoule set the MYNAME variable to your name.
MYNAME=Michael


-------------------
Steve Stites
 
Old 10-15-2003, 05:41 PM   #7
mla
Member
 
Registered: Sep 2003
Location: Canada
Posts: 86

Original Poster
Rep: Reputation: 15
Thanks Steve.
It's my test pc (200M - RAM)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Sendmail - Config for IP Block's & Config Issues Thom_Redhat Linux - Software 1 04-07-2006 02:29 PM
I have an XF86 config file for video, how do I turn it into XORG config lowpingnoob Linux - Newbie 18 06-12-2005 01:07 PM
Webmin cannot handle Samba config files that use the config or include directives allelopath Linux - Networking 3 01-18-2005 10:36 AM
krfb --config; Format of config file? Need to allow ports below 1024. SavvyPlayer Linux - Software 0 10-16-2004 09:28 PM
Lifeboat configuration: ATAPI device under 2.6 kernel maxfacta Linux - Software 4 09-03-2004 09:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration