LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > DamnSmallLinux
User Name
Password
DamnSmallLinux This forum is for the discussion of DamnSmallLinux.

Notices


Reply
  Search this Thread
Old 12-21-2009, 03:12 AM   #1
Galane
Member
 
Registered: Dec 2009
Posts: 33

Rep: Reputation: 0
I just need to do one thing with DSL.


I'm attempting to write the ROM image for my Palm LifeDrive to a 4gig Compact Flash card. Rather than doing anything resembling anything like any normal setup, Palm chose to split a Microdrive into three partitions.

First is a 64 meg "RAM" partition. Second is a 22 meg "ROM" partition. Third is the rest of the drive as a FAT32 partition which is only accessible to the Palm OS on the LifeDrive. (It can also be accessed as USB Mass Storage using the DriveMode app on a working LifeDrive.)

Following some instructions to use Python I've extracted and assembled the ROM from the Update 2.0 download from Palm and added the special header info to it. Got that far with Python for Windows.

I downloaded the partition table.sct file from someone's blog, who'd done this with Linux.

What's giving me problem is dd for Windows flat out doesn't work correctly for the next step, it always says error 87, it doesn't understand the conv=notrunc command, so I'm going to try DSL.

What I need is access to my USB multi-card reader from within DSL, either running in quemu under XP Pro SP3 or booted directly off a USB pen drive.

Here's the relevant section from the how-to.

Code:
If you're using a USB CF reader /dev/XdX will be something like /dev/sda. With a IDE->CF adapter it will be something like /dev/hdc.

Write the partition table to disk:

$ dd if=table.sct of=/dev/XdX conv=notrunc

1+0 records in
1+0 records out

And now the actual ROM partition:

$ dd if=rom-partition of=/dev/XdX seek=134079 bs=512 conv=notrunc

40001+1 records in
40001+1 records out

Put the microdrive back in your LifeDrive, reconnect the battery and with any luck, watch it boot PalmOS. The other two partitions will be automatically formatted by PalmOS, so you don't need to worry about them.
Where would be the best or easiest to get to place on the pen drive to put a directory containing the table.sct and rom-partition files?

The reason I want to do this myself is I only paid $80 for the PDA and I'm a cheap ba$tard who's not going to pay $75 to $90 for Palm OS preinstalled on a $25 memory card. (Dang certain the sellers of those cards are violating Palm's EULA!)
 
Old 12-21-2009, 04:12 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,420

Rep: Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339
From one cheapskate to another. I have rooted my Android. Go ahead and try it on DSL. I would reboot into dsl
then something like
$ modprobe storage
plug in the usb card reader, give it 5 seconds and try
dmesg |tail
presuming it's happy,
sudo fdisk -l
shows you mounted drives. pick out your usb reader & mount it. (Man mount)
 
Old 12-21-2009, 04:41 AM   #3
Galane
Member
 
Registered: Dec 2009
Posts: 33

Original Poster
Rep: Reputation: 0
modprobe storage comes back with Can't locate module storage
 
Old 12-22-2009, 03:43 AM   #4
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,420

Rep: Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339
That's your problem. You may need a better cd. DSL is quite small. There's a live cd on kevux.org, and another on linuxfromscratch.org, just to mention 2 that you could download.
 
  


Reply



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
USB drive works on DSL, not DSL-N. DSL-N has kernel 2.6.12 mkenyon2 Linux - Hardware 1 08-07-2008 11:29 AM
D-Link DSL-200 Rev B DSL modem -- success!! ludeKing Linux - Hardware 1 03-11-2007 06:32 PM
installing Cups in DSL and using DSL to share a network printer fakie_flip DamnSmallLinux 0 09-13-2006 09:20 PM
Dsl Modem Installation -- Aztech Dsl Turbo 100 psganesh Linux - Networking 0 07-01-2004 02:04 AM
DSL/ Linksys DSL Router/ Linux cant see the network... Robert0380 Linux - Networking 9 04-03-2002 04:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > DamnSmallLinux

All times are GMT -5. The time now is 02:35 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
Open Source Consulting | Domain Registration