Author Topic: Install Bug In Cortez's Updater.sh  (Read 12254 times)

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3706
    • View Profile
Install Bug In Cortez's Updater.sh
« on: April 10, 2008, 01:51:29 pm »
so, I'm setting  up dual booting, but didn't get it quite right, and needed to put the sharp kernel back. I used cortez's updater.sh, put the zImage.bin onto the memory card with it, and kicked it off*

it flashed the kernel no problem. when it said "format hard drive" I hit CTRL-C, no effect, so then I typed N and hit return, and it proceeded to format the hard drive. ARRRGHHH!  

sigh.
« Last Edit: April 11, 2008, 06:39:13 am by speculatrix »
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3706
    • View Profile
Install Bug In Cortez's Updater.sh
« Reply #1 on: April 10, 2008, 01:53:12 pm »
damn, it didn't just format it, it repartitioned the hard drive too!
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.

Capn_Fish

  • Hero Member
  • *****
  • Posts: 2342
    • View Profile
    • http://
Install Bug In Cortez's Updater.sh
« Reply #2 on: April 10, 2008, 04:12:34 pm »
Ouch. I hope you have backups and/or nothing important on your hard drive.
SL-C750- pdaXrom beta 1 (mostly unused)
Current distro: Gentoo

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3706
    • View Profile
Install Bug In Cortez's Updater.sh
« Reply #3 on: April 10, 2008, 05:07:36 pm »
Quote from: Capn_Fish
Ouch. I hope you have backups and/or nothing important on your hard drive.

fortunately, nothing too important as I'd flattened it when installing cortez's android.

it's kind of funny, really, as I'd installed cacko with katastrphos kernel + new modules + kat's WM sound driver and got it just right. then I'd partitioned the microdrive, formatted it, copied on all the debian files, added the new kernel, copied over kat's sharp kernel, put a few scripts in place, and then installed the yonggun kernel, and so was on the very last stage to have dual booting ready. booted the new yonggun kernel but it wouldn't mount the hard drive 'cos I'd forgotten to put journalling on, so I had to restore sharp kernel to boot cacko to turn on journalling. So, I was at the very very last step when I wiped  out the entire debian install  
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.

cortez

  • Sr. Member
  • ****
  • Posts: 375
    • View Profile
    • http://www.omegamoon.com
Install Bug In Cortez's Updater.sh
« Reply #4 on: April 11, 2008, 03:07:47 am »
Quote from: speculatrix
Quote from: Capn_Fish
Ouch. I hope you have backups and/or nothing important on your hard drive.

fortunately, nothing too important as I'd flattened it when installing cortez's android.

it's kind of funny, really, as I'd installed cacko with katastrphos kernel + new modules + kat's WM sound driver and got it just right. then I'd partitioned the microdrive, formatted it, copied on all the debian files, added the new kernel, copied over kat's sharp kernel, put a few scripts in place, and then installed the yonggun kernel, and so was on the very last stage to have dual booting ready. booted the new yonggun kernel but it wouldn't mount the hard drive 'cos I'd forgotten to put journalling on, so I had to restore sharp kernel to boot cacko to turn on journalling. So, I was at the very very last step when I wiped  out the entire debian install  

The installer asks whether or not you would like to format the internal drive. Only 'y', 'n' and the Enter key are accepted as input. The Enter key accepts the default, in the case of disk formatting this is (unfortunately for you) 'y'. I guess pressing Ctrl+C contains the Enter-keycode? Or did you press Enter after the Ctrl+C? Anyhow, you haven't convince me that this is a bug   . I could of course set the default to 'n', just to prevent any more harm.
« Last Edit: April 11, 2008, 03:18:02 am by cortez »
[div align=\"center\"]== == == == == == == == == == == == == ==
www.omegamoon.com
Zaurus SL-C750 - Died in a dreadful coffee experiment, has a second life somewhere in the Czech Republic
Zaurus SL-C1000 - Multiboot Zubuntu, Debian, Fedora, Poky, Android and others
Zaurus SL-C3100 - Development device, currently Zubuntu 2.0
Zaurus SL-6000L - The fridge is running Zubuntu 1.0
Zaurus SL-C860 - Cacko, untouched since kindly donated, waiting for Zubuntu
== == == == == == == == == == == == == ==[/div]

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3706
    • View Profile
Install Bug In Cortez's Updater.sh
« Reply #5 on: April 11, 2008, 06:38:35 am »
Quote from: cortez
The installer asks whether or not you would like to format the internal drive. Only 'y', 'n' and the Enter key are accepted as input. The Enter key accepts the default, in the case of disk formatting this is (unfortunately for you) 'y'. I guess pressing Ctrl+C contains the Enter-keycode? Or did you press Enter after the Ctrl+C? Anyhow, you haven't convince me that this is a bug   . I could of course set the default to 'n', just to prevent any more harm.

er, I think any program feature which will let a user completely destroy the contents of the computer as the default action is a bug, not a feature.

I would change it so that you have to type, literally, YES to get it to wipe the microdrive. It's not as if someone can't reboot and re-run the tool if they later decide they did want to wipe everything!

anyway, that's only my humble opinion.  
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.