Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader > Kobo Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 12-21-2012, 12:10 PM   #1
mheys
Junior Member
mheys began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Dec 2012
Device: Kobo Mini
Kobo Mini rooting

I've been following the instructions for the Touch and I've added the line at the end of the rcS file to run /mnt/onboard/run.sh.

then I've added these in the run.sh
Code:
cp /etc/inittab /mnt/onboard
cp /etc/inetd.conf /mnt/onboard
However after rebooting I only get the inetd.conf file copied across, not the inittab, any ideas? Seems very strange that it runs the second part of the run.sh and not the first.

My next step is to mount the SD Card image and have a root through the file system manually and see what's in there.
mheys is offline   Reply With Quote
Old 12-21-2012, 12:54 PM   #2
KevinShort
Addict
KevinShort ought to be getting tired of karma fortunes by now.KevinShort ought to be getting tired of karma fortunes by now.KevinShort ought to be getting tired of karma fortunes by now.KevinShort ought to be getting tired of karma fortunes by now.KevinShort ought to be getting tired of karma fortunes by now.KevinShort ought to be getting tired of karma fortunes by now.KevinShort ought to be getting tired of karma fortunes by now.KevinShort ought to be getting tired of karma fortunes by now.KevinShort ought to be getting tired of karma fortunes by now.KevinShort ought to be getting tired of karma fortunes by now.KevinShort ought to be getting tired of karma fortunes by now.
 
KevinShort's Avatar
 
Posts: 348
Karma: 209937
Join Date: Jan 2012
Location: Virginia, US
Device: Kobo Wifi, Kobo Glo
To see what exactly is happening, edit your line in rcS that calls run.sh to look like this:
Code:
/mnt/onboard/run.sh > /mnt/onboard/run.log 2>&1
Now all the output from run.sh will be put into run.log, so you can see what's going wrong.
KevinShort is offline   Reply With Quote
Advert
Old 12-31-2012, 06:32 AM   #3
mheys
Junior Member
mheys began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Dec 2012
Device: Kobo Mini
Very odd, I was messing about and ended up putting this in my run.sh

Code:
cp /etc/inittab /mnt/onboard/ 
cp /etc/inetd.conf /mnt/onboard/ 
cp -R /etc /mnt/onboard/etc/
however it just kept producing

Code:
cp: can't create '
/inittab': No such file or directory
cp: omitting directory '/mnt/onboard'
cp: can't create '
/inetd.conf': No such file or directory
cp: omitting directory '/mnt/onboard'
cp: can't create directory '
/etc': No such file or directory
cp: can't create directory '
/etc': No such file or directory

However putting those 3 lines in the rcS file and it worked fine. Not sure what happened there, I literally copied and pasted it over. Only difference is I edit the rcS file in linux and the run.sh on Windows, must be line endings but I don't see how it could be.

Anyway, now have the entire /etc directory so I can move on to step 2 now.
mheys is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How do you like your Kobo Mini? bcgirl Kobo Reader 8 12-14-2012 01:40 PM
Kobo Mini: So, which is it? twowheels Kobo Reader 5 12-13-2012 09:19 AM
Mini Rooting the mini? hecq Kobo Developer's Corner 12 12-01-2012 06:10 PM
Rooting the Kobo after March 2 2012 Update danifunker Kobo Tablets 66 08-10-2012 07:39 PM
Kobo Wi-Fi and rooting jhempel24 Kobo Reader 2 08-01-2011 03:55 PM


All times are GMT -4. The time now is 10:05 PM.


MobileRead.com is a privately owned, operated and funded community.