Go to Post I am allergic to work... - Mike Schroeder [more]
Home
Go Back   Chief Delphi > Technical > Control System > FRC Control System
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 10-01-2011, 01:48
EHaskins EHaskins is offline
Needs to change his user title.
AKA: Eric Haskins
no team (CARD #6 (SCOE))
Team Role: College Student
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Elkhorn, WI USA
Posts: 998
EHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond repute
Send a message via MSN to EHaskins
How to Image Classmate Without Recovery Partition

The imageing disk creates a 5.5gb recovery partition which cannot be used to recover the classmate, and is not used after imaging. Since the Classmate only has a 16gb SSD, it is unreasonable to waste that much space on the SSD.

I have modified the imaging scripts such that they do not create this partition.

NOTE: the following only has a "Works on my Machine" garuentee. Make a copy of the imaging flash drive before proceeding.

Replace the AUTOINSTALL.bat and DISKPARTSCRIPT.txt files on your imaging flash drive with the ones contained in the zip file attached to this post.

That is all. Boot your classmate from the flash drive and image as normal, but now you will now have the full 16gb of hdd space available.


Unfortunatly, due to the way they created the partitions the built-in utilites in winodws cannot remove this partition after imaging. It is possible to do remove this partition manually with third party tools after imaging is complete, but I dont' have time to document that procedure now.
__________________
Eric Haskins KC9JVH

Last edited by EHaskins : 10-01-2011 at 01:54.
Reply With Quote
  #2   Spotlight this post!  
Unread 10-01-2011, 17:43
BrandonD-1528's Avatar
BrandonD-1528 BrandonD-1528 is offline
Mentor
AKA: Brandon Dusseau
FRC #1528 (Monroe Trojan Robotics)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2008
Location: Ann Arbor, MI
Posts: 118
BrandonD-1528 is a jewel in the roughBrandonD-1528 is a jewel in the roughBrandonD-1528 is a jewel in the roughBrandonD-1528 is a jewel in the rough
Re: How to Image Classmate Without Recovery Partition

It would be recommended to try and remove the partition with a linux netboot or USB boot manually, and expanding the Windows partition, before attempting this method, as modifying the image key is risky.

Edit: Going to duplicate the imaging key on another flash drive and patch it. We have 2 netbooks so testing is an option. I'll report back in a bit.
__________________
Brandon Dusseau (website)
Monroe Trojan Robotics mentor
Software Engineer
Michigan Tech alumnus

Last edited by BrandonD-1528 : 10-01-2011 at 21:20.
Reply With Quote
  #3   Spotlight this post!  
Unread 10-01-2011, 22:47
kinganu123 kinganu123 is offline
Registered User
FRC #1747
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Piscataway, NJ
Posts: 243
kinganu123 is on a distinguished road
Re: How to Image Classmate Without Recovery Partition

Tested and confirmed working on our '10 netbook
__________________
Reply With Quote
  #4   Spotlight this post!  
Unread 10-01-2011, 22:57
PatrickS's Avatar
PatrickS PatrickS is offline
I get my code from /dev/null
FRC #1742 (Shockwave)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2009
Location: Oklahoma City
Posts: 21
PatrickS is an unknown quantity at this point
Re: How to Image Classmate Without Recovery Partition

You can boot to a linux live CD and manually remove the recovery partition. You can use tools such as Gparted or fdisk.
Reply With Quote
  #5   Spotlight this post!  
Unread 11-01-2011, 00:48
EHaskins EHaskins is offline
Needs to change his user title.
AKA: Eric Haskins
no team (CARD #6 (SCOE))
Team Role: College Student
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Elkhorn, WI USA
Posts: 998
EHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond repute
Send a message via MSN to EHaskins
Re: How to Image Classmate Without Recovery Partition

I've tested it, and I've now install all of the manditory updates and Java updates, and everything worked great.

Quote:
Originally Posted by BrandonD-1528 View Post
Edit: Going to duplicate the imaging key on another flash drive and patch it. We have 2 netbooks so testing is an option. I'll report back in a bit.
Quote:
Originally Posted by kinganu123 View Post
Tested and confirmed working on our '10 netbook
Thanks for the feedback.

Quote:
Originally Posted by BrandonD-1528 View Post
It would be recommended to try and remove the partition with a linux netboot or USB boot manually, and expanding the Windows partition, before attempting this method, as modifying the image key is risky.
Quote:
Originally Posted by PatrickS View Post
You can boot to a linux live CD and manually remove the recovery partition. You can use tools such as Gparted or fdisk.
Yes, that is possible, but I believe this is the simpler method if the classmate has not yet been customized. If significant effort has already been expended, then yes, using GParted or a similar tool may be the correct course of action.
__________________
Eric Haskins KC9JVH
Reply With Quote
  #6   Spotlight this post!  
Unread 11-01-2011, 11:03
BrandonD-1528's Avatar
BrandonD-1528 BrandonD-1528 is offline
Mentor
AKA: Brandon Dusseau
FRC #1528 (Monroe Trojan Robotics)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2008
Location: Ann Arbor, MI
Posts: 118
BrandonD-1528 is a jewel in the roughBrandonD-1528 is a jewel in the roughBrandonD-1528 is a jewel in the roughBrandonD-1528 is a jewel in the rough
Re: How to Image Classmate Without Recovery Partition

This fix is confirmed working by us as well. Removing Open Office will also give some valuable space.

We went from just over 1 GB available to nearly 8.
__________________
Brandon Dusseau (website)
Monroe Trojan Robotics mentor
Software Engineer
Michigan Tech alumnus
Reply With Quote
  #7   Spotlight this post!  
Unread 11-01-2011, 11:05
EHaskins EHaskins is offline
Needs to change his user title.
AKA: Eric Haskins
no team (CARD #6 (SCOE))
Team Role: College Student
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Elkhorn, WI USA
Posts: 998
EHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond repute
Send a message via MSN to EHaskins
Re: How to Image Classmate Without Recovery Partition

Quote:
Originally Posted by BrandonD-1528 View Post
This fix is confirmed working by us as well. Removing Open Office will also give some valuable space.

We went from just over 1 GB available to nearly 8.
Thanks for the feedback.
__________________
Eric Haskins KC9JVH
Reply With Quote
  #8   Spotlight this post!  
Unread 11-01-2011, 19:16
BrandonD-1528's Avatar
BrandonD-1528 BrandonD-1528 is offline
Mentor
AKA: Brandon Dusseau
FRC #1528 (Monroe Trojan Robotics)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2008
Location: Ann Arbor, MI
Posts: 118
BrandonD-1528 is a jewel in the roughBrandonD-1528 is a jewel in the roughBrandonD-1528 is a jewel in the roughBrandonD-1528 is a jewel in the rough
Re: How to Image Classmate Without Recovery Partition

Here's a bit of an update: This disk space recovery method is now featured in the KOP Control System section at http://www.usfirst.org/frc/kitofparts as of January 11, 2011.
__________________
Brandon Dusseau (website)
Monroe Trojan Robotics mentor
Software Engineer
Michigan Tech alumnus
Reply With Quote
  #9   Spotlight this post!  
Unread 11-01-2011, 19:26
EHaskins EHaskins is offline
Needs to change his user title.
AKA: Eric Haskins
no team (CARD #6 (SCOE))
Team Role: College Student
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Elkhorn, WI USA
Posts: 998
EHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond repute
Send a message via MSN to EHaskins
Re: How to Image Classmate Without Recovery Partition

Quote:
Originally Posted by BrandonD-1528 View Post
Here's a bit of an update: This disk space recovery method is now featured in the KOP Control System section at http://www.usfirst.org/frc/kitofparts as of January 11, 2011.
Thanks for the info.

Eric
__________________
Eric Haskins KC9JVH
Reply With Quote
  #10   Spotlight this post!  
Unread 11-01-2011, 20:14
jason701802's Avatar
jason701802 jason701802 is offline
Registered User
FRC #0753 (The High Desert Droids)
Team Role: College Student
 
Join Date: Jan 2007
Rookie Year: 2002
Location: Oregon/Univ. of Southern Calif.
Posts: 234
jason701802 has a brilliant futurejason701802 has a brilliant futurejason701802 has a brilliant futurejason701802 has a brilliant futurejason701802 has a brilliant futurejason701802 has a brilliant futurejason701802 has a brilliant futurejason701802 has a brilliant futurejason701802 has a brilliant futurejason701802 has a brilliant futurejason701802 has a brilliant future
Re: How to Image Classmate Without Recovery Partition

Tested and confirmed by Team 753. We first tried using gParted, but it gave us an error and we were no longer able to boot. We decided to give this a go, backed up the .bat and .txt files, and re-imaged using these files. We are up and running with lots more space, many thanks.
__________________
Jason
Reply With Quote
  #11   Spotlight this post!  
Unread 11-01-2011, 20:29
kinganu123 kinganu123 is offline
Registered User
FRC #1747
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Piscataway, NJ
Posts: 243
kinganu123 is on a distinguished road
Re: How to Image Classmate Without Recovery Partition

Quote:
Originally Posted by jason701802 View Post
Tested and confirmed by Team 753. We first tried using gParted, but it gave us an error and we were no longer able to boot. We decided to give this a go, backed up the .bat and .txt files, and re-imaged using these files. We are up and running with lots more space, many thanks.
I too tried gParted, and I got the recovery partition to be removed. HOWEVER, I couldn't extend the NTFS partition into the newly unallocated space, rendering this method useless.
__________________
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 19:19.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi