Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 02 Oct 2014, 02:49
All times are UTC - 4
 Forum index » Advanced Topics » Cutting edge
Booting Live CD (2.17 experimental) from a USB Drive
Moderators: Flash, Ian, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count_1  
Author Message

Joined: 17 Oct 2006
Posts: 19

PostPosted: Fri 06 Jul 2007, 08:22    Post_subject:  Booting Live CD (2.17 experimental) from a USB Drive  

I have a Laptop with an internal CD drive which is faulty.

I therefore boot the Puppy Live CD from an external USB Drive which shows up on /dev/sr0.

With the Puppy 2.16/2.16.1 Live CD I have to use the "pmedia=usb" or "pmedia=usbcd" boot parameter to force a boot from the external USB CD Drive.

With the 2.17 Experimental Live CD this method no longer works and the boot process fails with an error message:

"ERROR, cannot find Puppy on 'usbcd' boot media"

Doing a "diff" on the 216 and 217 "init" files includes:

< [ ! "`test-scsi | grep '/scd'`" = "" ] && PMEDIA='satacd'
> #[ ! "`test-scsi | grep -E '/scd|/sr'`" = "" ] && PMEDIA='satacd' #v2.17 added sr
> #[ "`grep -E ' scd| sr' /proc/diskstats`" != "" ] && PMEDIA='satacd' #v2.17
> [ "`ls -1 /sys/block | grep -E '^scd|^sr'`" != "" ] && PMEDIA='satacd' #v2.17

Running the above 217 "init" command:

"ls -1 /sys/block | grep -E '^scd|^sr'"

from the command line left after the failed 217 boot, produces "sr0".

The USB CD Drive is therefore being partially recognised.
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count_1  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Cutting edge
Jump to:  

You cannot attach files in this forum
You can download files in this forum

Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0348s ][ Queries: 11 (0.0028s) ][ GZIP on ]