Trying to scrub internal partitions...locked? SOLVED(ish)!
- offbeatdave
- Posts: 1050
- Joined: Wed Mar 09, 2011 10:43 pm
Trying to scrub internal partitions...locked? SOLVED(ish)!
I'm trying to remove all partitions on one of my Joggler's internal flash memory. However, when I try to do this in gparted via Ubuntu, even though the operations to delete the partitions complete successfully, when it refreshes, the partitions return (with mmcblk0p1 as ! unknown file system).
Am I missing something obvious here or the internal flash had it? If I try to format the first partition, the problem above still persists.
Any thoughts?
Am I missing something obvious here or the internal flash had it? If I try to format the first partition, the problem above still persists.
Any thoughts?
Last edited by offbeatdave on Wed Mar 07, 2012 5:29 pm, edited 1 time in total.
"EVERY DAY I'M JOGGLERING!"
Jogglering since Dec '09;
Tinkering with Jogglers since Feb '10 thanks to PMJ, Jogtools, PnP & sqpOS;
Gave something back Feb '12 to Apr '14 with PnP Mk II & PnP III;
Finally 'completed' PnP III Apr '15!
Jogglering since Dec '09;
Tinkering with Jogglers since Feb '10 thanks to PMJ, Jogtools, PnP & sqpOS;
Gave something back Feb '12 to Apr '14 with PnP Mk II & PnP III;
Finally 'completed' PnP III Apr '15!
Re: Trying to scrub internal partitions...appear to be locke
Maybe you could try to delete the MBR and partition table with DD. Command should be
After that please reboot or try to re-read the partition table with
The kernel has a cache of the partition table.
Never tried to wipe the internal storage with DD, but on all hard drives I know the dd command works. Use at your own risk.
Code: Select all
dd if=/dev/zero of=/dev/mmcblk0 bs=512 count=1
Code: Select all
partprobe
Never tried to wipe the internal storage with DD, but on all hard drives I know the dd command works. Use at your own risk.
- offbeatdave
- Posts: 1050
- Joined: Wed Mar 09, 2011 10:43 pm
Re: Trying to scrub internal partitions...appear to be locke
So I tried the code above and got the output
However, gave no output whatsoever and the partitions are still there when I launch gparted.
Code: Select all
joggler@joggler:~$ sudo dd if=/dev/zero of=/dev/mmcblk0 bs=512 count=1
1+0 records in
1+0 records out
512 bytes (512 B) copied, 0.00335442 s, 153 kB/s
Code: Select all
partprobe
"EVERY DAY I'M JOGGLERING!"
Jogglering since Dec '09;
Tinkering with Jogglers since Feb '10 thanks to PMJ, Jogtools, PnP & sqpOS;
Gave something back Feb '12 to Apr '14 with PnP Mk II & PnP III;
Finally 'completed' PnP III Apr '15!
Jogglering since Dec '09;
Tinkering with Jogglers since Feb '10 thanks to PMJ, Jogtools, PnP & sqpOS;
Gave something back Feb '12 to Apr '14 with PnP Mk II & PnP III;
Finally 'completed' PnP III Apr '15!
- offbeatdave
- Posts: 1050
- Joined: Wed Mar 09, 2011 10:43 pm
Re: Trying to scrub internal partitions...appear to be locke
OK, sorted in a rather haphazard way via random googling and keeping fingers crossed.
I perhaps should have said that the reason for needing to do this was that over the last week, on this particular unit reflashing or any other restore method just would not work, even though they all went through the motions. I was starting to think that the internal flash was finished on this particular machine.
Anyway, figuring that I had nothing to lose, here is what I did:
To begin with I booted into Ubuntu - many times my saviour on Joggler projects - and telneted in via my laptop for easier typing of commands!
First I did
Then did
This presented me with the following:
When I went back into gparted, the whole device was now unallocated (which I previously hadn't been able to achieve), although it still wouldn't let me fix a partition table.
However, I thought I'd give the reflash tool another go. Once again, it went through the motions but, lo and behold, one the first attempt the Joggler fired up and booted straight into a nice clean stock OS! This proceedure might be useful as a last resort for those who appear unable to reflash their Joggler, even though the reflash tool appears to be running properly. I've lost count of how many times I'd tried it or used re-imaging via Ubuntu with no joy, but this worked first time. Use with caution though!
I perhaps should have said that the reason for needing to do this was that over the last week, on this particular unit reflashing or any other restore method just would not work, even though they all went through the motions. I was starting to think that the internal flash was finished on this particular machine.
Anyway, figuring that I had nothing to lose, here is what I did:
To begin with I booted into Ubuntu - many times my saviour on Joggler projects - and telneted in via my laptop for easier typing of commands!
First I did
Code: Select all
sudo umount /dev/mmcblk0*
Code: Select all
sudo fdisk /dev/mmcblk0
So I pressed the followingWARNING: DOS-compatible mode is deprecated. It's strongly recommended to switch off the mode (command 'c') and change display units to sectors (command 'u').
Code: Select all
c and u followed by d, n, p, enter enter and finally w.
However, I thought I'd give the reflash tool another go. Once again, it went through the motions but, lo and behold, one the first attempt the Joggler fired up and booted straight into a nice clean stock OS! This proceedure might be useful as a last resort for those who appear unable to reflash their Joggler, even though the reflash tool appears to be running properly. I've lost count of how many times I'd tried it or used re-imaging via Ubuntu with no joy, but this worked first time. Use with caution though!
"EVERY DAY I'M JOGGLERING!"
Jogglering since Dec '09;
Tinkering with Jogglers since Feb '10 thanks to PMJ, Jogtools, PnP & sqpOS;
Gave something back Feb '12 to Apr '14 with PnP Mk II & PnP III;
Finally 'completed' PnP III Apr '15!
Jogglering since Dec '09;
Tinkering with Jogglers since Feb '10 thanks to PMJ, Jogtools, PnP & sqpOS;
Gave something back Feb '12 to Apr '14 with PnP Mk II & PnP III;
Finally 'completed' PnP III Apr '15!
Re: Trying to scrub internal partitions...locked? SOLVED(ish
Well done!
I haven't got a clue what any of that means or does, but I hope Roobarb see's it because it might be the answer for all the Jogglers that the reflash tool doesn't fix. Two of my five Jogglers are currently candidates.
I haven't got a clue what any of that means or does, but I hope Roobarb see's it because it might be the answer for all the Jogglers that the reflash tool doesn't fix. Two of my five Jogglers are currently candidates.
Re: Trying to scrub internal partitions...locked? SOLVED(ish
thanks for the info, I thought you already unmounted the partitions /dev/mmcblk0*. Modern Linux distribution auto mount all file systems, which can be annoying. The dd command normally works if not I overwrite everything with zeros.
Re: Trying to scrub internal partitions...locked? SOLVED(ish
I had the same problem wiping the internal flash from windows. Using minitools, just deleting the partitions didn't work... They kept coming back! Wiping the drive by writing zeros did the trick. Since doing that I've been unable to run the reflash tool on that Joggler.
I've Got The Moves Like Joggler
Windows XP Professional SP3 plus Tablet PC for O2 Joggler
http://www.jogglerwiki.com/forum/viewto ... ?f=2&t=305
How to build your own Windows XP for the Joggler
http://www.jogglerwiki.com/wiki/WindowsXP
Windows XP Professional SP3 plus Tablet PC for O2 Joggler
http://www.jogglerwiki.com/forum/viewto ... ?f=2&t=305
How to build your own Windows XP for the Joggler
http://www.jogglerwiki.com/wiki/WindowsXP
Re: Trying to scrub internal partitions...appear to be locke
Is this really a line of code?offbeatdave wrote:...So I pressed the followingCode: Select all
c and u followed by d, n, p, enter enter and finally w.
- offbeatdave
- Posts: 1050
- Joined: Wed Mar 09, 2011 10:43 pm
Re: Trying to scrub internal partitions...locked? SOLVED(ish
Oops! If only tech responded to such things! It'd be great wouldn't it!
"EVERY DAY I'M JOGGLERING!"
Jogglering since Dec '09;
Tinkering with Jogglers since Feb '10 thanks to PMJ, Jogtools, PnP & sqpOS;
Gave something back Feb '12 to Apr '14 with PnP Mk II & PnP III;
Finally 'completed' PnP III Apr '15!
Jogglering since Dec '09;
Tinkering with Jogglers since Feb '10 thanks to PMJ, Jogtools, PnP & sqpOS;
Gave something back Feb '12 to Apr '14 with PnP Mk II & PnP III;
Finally 'completed' PnP III Apr '15!
Re: Trying to scrub internal partitions...locked? SOLVED(ish
offbeatdave,
Are you saying that the fdisk command presents you with the ability to then issue the other commands such as "C" and "U" etc?
I'm not very clued in to Linux and with Mevi's tales of doom and gloom such as never being able to run the reflash tool, I'd like to know a bit more about what I'm doing first.
I believe the first rule of First Aid is "Never make the patient worse"...of course that's no where near as important as "Never let anyone take photos of you snogging a doll on the First Aid classroom floor!"
Anyway, what I was trying to say is, I don't want to make my Joggler any worse.
Are you saying that the fdisk command presents you with the ability to then issue the other commands such as "C" and "U" etc?
I'm not very clued in to Linux and with Mevi's tales of doom and gloom such as never being able to run the reflash tool, I'd like to know a bit more about what I'm doing first.
I believe the first rule of First Aid is "Never make the patient worse"...of course that's no where near as important as "Never let anyone take photos of you snogging a doll on the First Aid classroom floor!"

Anyway, what I was trying to say is, I don't want to make my Joggler any worse.
Re: Trying to scrub internal partitions...locked? SOLVED(ish
No tongues.cbredfred wrote: "Never let anyone take photos of you snogging a doll on the First Aid classroom floor!"![]()

I've Got The Moves Like Joggler
Windows XP Professional SP3 plus Tablet PC for O2 Joggler
http://www.jogglerwiki.com/forum/viewto ... ?f=2&t=305
How to build your own Windows XP for the Joggler
http://www.jogglerwiki.com/wiki/WindowsXP
Windows XP Professional SP3 plus Tablet PC for O2 Joggler
http://www.jogglerwiki.com/forum/viewto ... ?f=2&t=305
How to build your own Windows XP for the Joggler
http://www.jogglerwiki.com/wiki/WindowsXP
- offbeatdave
- Posts: 1050
- Joined: Wed Mar 09, 2011 10:43 pm
Re: Trying to scrub internal partitions...locked? SOLVED(ish
Yeah, they're options from fdisk. no idea what it does but it worked. My joggler was knackered before i did this so it was a nothing to lose job.cbredfred wrote:offbeatdave,
Are you saying that the fdisk command presents you with the ability to then issue the other commands such as "C" and "U" etc?
I'm not very clued in to Linux and with Mevi's tales of doom and gloom such as never being able to run the reflash tool, I'd like to know a bit more about what I'm doing first.
I believe the first rule of First Aid is "Never make the patient worse"...of course that's no where near as important as "Never let anyone take photos of you snogging a doll on the First Aid classroom floor!"![]()
Anyway, what I was trying to say is, I don't want to make my Joggler any worse.
"EVERY DAY I'M JOGGLERING!"
Jogglering since Dec '09;
Tinkering with Jogglers since Feb '10 thanks to PMJ, Jogtools, PnP & sqpOS;
Gave something back Feb '12 to Apr '14 with PnP Mk II & PnP III;
Finally 'completed' PnP III Apr '15!
Jogglering since Dec '09;
Tinkering with Jogglers since Feb '10 thanks to PMJ, Jogtools, PnP & sqpOS;
Gave something back Feb '12 to Apr '14 with PnP Mk II & PnP III;
Finally 'completed' PnP III Apr '15!