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 Sun 20 Apr 2014, 12:13
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 [1 Post]  
Author Message
grndoor

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:

929c944,946
< [ ! "`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 from previous:   Sort by:   
Page 1 of 1 [1 Post]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Cutting edge
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


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