LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   LifeBoat config ??? (https://www.linuxquestions.org/questions/linux-software-2/lifeboat-config-103904/)

mla 10-14-2003 02:45 PM

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"

jailbait 10-14-2003 07:08 PM

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

mla 10-14-2003 09:45 PM

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.

mla 10-15-2003 09:29 AM

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) *

mla 10-15-2003 10:31 AM

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]#

jailbait 10-15-2003 03:58 PM

"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

mla 10-15-2003 04:41 PM

Thanks Steve.
It's my test pc (200M - RAM)


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