E90Post
 


Lease SwApp
 
BMW 3-Series (E90 E92) Forum > E90 / E92 / E93 3-series Technical Forums > DIY Guides > DIY: Install SSD in CIC



Reply
 
Thread Tools Search this Thread
      02-26-2018, 12:17 AM   #23
opjose
Captain
opjose's Avatar
124
Rep
709
Posts

Drives: 335xi
Join Date: May 2016
Location: Md

iTrader: (0)

Quote:
Originally Posted by Maniac0908 View Post
Do i initialize using MBR or GPT?
MBR may do the least damage.

I believe I had to install an MBR record before Linux would recognize the drive.

I then used a simple "dd" command to clone the original image onto the new drive.

Under Windows the drive must be recognized for Clonezilla to work, but often the Boot sector and/or initialization info Windows writes out causes the drive to not be recognized under QNX that your car runs.

If you find that your car fails to recognize the cloned drive, e.g. you get no maps what-so-ever, then pull it back out and perform a complete erase with OEM tools that will zero out the SSD completely including boot records.

I had to do this the first time I tried as I erroneously selected GPT and had to start over cloning the image back to the SSD.

It's a good idea to save a copy of the image of your HDD too in case you ever need it again.
Appreciate 0
      03-24-2018, 02:17 AM   #24
p0lar
Naturally agitated
p0lar's Avatar
United_States
12
Rep
35
Posts

Drives: 11 E90 M3, 12 E70 X5d, 04 M3
Join Date: May 2012
Location: NoVa

iTrader: (0)

I just performed this 'upgrade' to my '11 M3. Overall, it's not a bad procedure and everything went as planned. I used the Recadata 256GB mSATA SSD (~$100 shipped) and the Ableconn IIDE-MSAT mSATA SSD to 2.5-Inch IDE Adapter (~$29 shipped).

I also used two other components, though technically only one would have been necessary. The part required to read the OEM drive to an image (this took about 80 minutes on my Macbook Pro using "dd if=/dev/disk3 of=/Volumes/storage/cic_backup.img":

UNITEK USB 3.0 to IDE & SATA Converter External Hard Drive Adapter Kit for Universal 2.5/3.5 HDD/SSD Hard Drive

And to write to it as well as work with it within QNX and PartEd, a USB3 to mSata adapter (I don't have the part # on this as it was something I had on-hand). This procedure took about 13 minutes using "dd if=/Volumes/storage/cic_backup.img of=/dev/rdisk3 bs=64k".

The only hiccup I ran into was that QNX did not like something about the USB3 to mSata adapter, so it would create the qnx6 filesystem, but wouldn't mount it unless it was read-only (which clearly wasn't going to work). To fix this, I mounted it with the "sync=optional" command (though sync=ignore may also have worked) as follows:

Code:
mount -o sync=optional -t qnx6 /dev/hd10t77.4 /root/media
mount -o sync=optional -t qnx6 /dev/hd10t77.5 /root/debug
The full list of qnx commands was very simple.. I also added an extra 15GB VMWare drive to QNX as HD1 to copy the initial bits (it only needs to be large enough to hold your hbmedia and hbdebug partitions) -- do mind your drive names, I won't even pretend to be responsible for data loss if you're not familiar with posix syntax and device naming conventions! My temporary scratch space/virtual drive was /dev/hd1. My usb mSATA adapter was /dev/hd10t77, of which .4 and .5 were the media and debug partitions respectively. I used a couple of environmental definitions that point to the scratch drive and media/debug partitions. This makes it easier NOT to foul up other partitions, though it's not the end of the world if you do since you're working from the replacement drive. May as well alias mount while I'm at it since we're only working with qnx6 filesystems.

Code:
# scratchdrive="/dev/hd1"
# mediapartition="/dev/hd10t77.4"
# debugpartition="/dev/hd10t77.5"
# alias mount="mount -t qnx6"
# mkqnx6fs ${scratchdrive}
# mkdir /root/{saved/{debug,media},debug,media}
# mount ${scratchdrive} /root/saved
# mount -o ro ${mediapartition} /root/media
# mount -o ro ${debugpartition} /root/debug
# cp -Rp /root/media/* /root/saved/media/
# cp -Rp /root/debug/* /root/saved/debug/
# umount /root/{media,debug,saved}
-- make your changes in the partition editor then go back to your qnx VM, check your device lists to ensure your scratch and CIC drive definitions didn't change! --

Code:
# scratchdrive="/dev/hd1"
# mediapartition="/dev/hd10t77.4"
# debugpartition="/dev/hd10t77.5"
# alias mount="mount -t qnx6"
# mount -o ro ${scratchdrive} /root/saved
# mkqnx6fs ${mediapartition}
# mkqnx6fs ${debugpartition}
# mount -o sync=optional ${mediapartition} /root/media
# mount -o sync=optional ${debugpartition} /root/debug
# cp -Rp /root/saved/media/* /root/media/
# cp -Rp /root/saved/debug/* /root/debug/
# umount /root/{media,debug,saved}
-- now disconnect your USB drive from VMWare, mount the mSATA into the adapter, mount the adapter into the CIC adapter and replace in the vehicle --

Notes:
  • Overall, I would say the nav is slightly more responsive, but not lots. The music load is absolutely faster, and I can't imagine ever importing over 175GB of music.
  • There is a way to do this strictly in QNX with just a script without rebooting to use the partition editor, but it would take significantly longer to achieve and would require more scratch space and some script-fu to automate the partition boundaries properly.
  • Thanks to the OP for posting this -- I found a thread on the X5 where others have also done something similar, perhaps without the partition expansions which I think is the real reward here.
  • I'll update this post with the results on how the recadata i6m handles the heat/cold cycles. Overall I feel pretty confident it will do well.
  • OEM HDD, Toshiba Automotive MKxx50GAC Series - The 80GB seems to be the largest Toshiba made in that series so a logical upgrade within the same manufacturer series is out of the question.
  • After giving it more thought, I think I will be adding a small piece of rubber between the mSATA and the chassis in the event that the retention clip doesn't hold. The clip on the Ableconn adapter really isn't designed for automotive use and though it should hang on, my suspicion is that at some point it will let go.
  • After driving about 20 miles with it in, the media is noticeably faster to load, much .. much faster.

Last edited by p0lar; 03-24-2018 at 08:41 PM.
Appreciate 0
      05-03-2018, 03:27 PM   #25
captpilly
Enlisted Member
2
Rep
30
Posts

Drives: X5D
Join Date: Jul 2016
Location: MN, FL

iTrader: (0)

Any thoughts on if the clone feature for this SATA to USB would work?

KINGWIN USB2.0 TO SERIAL ATA & PARALLEL ATA ADAPTER CABLE KIT

https://www.frys.com/product/5466019...IaAhydEALw_wcB

They have this in stock very close to my house, I am thinking about trying it.

Standalone disk duplicator
Another unique feature of the EZ-Clone is the standalone disk cloning feature that allows you to duplicate or clone the entire IDE or SATA source drive to another faster or larger SATA drive without having to connect to a computer. Simply attach the IDE or SATA source drive and the new SATA drive to the SATA2 target connector, then turn on the EZ-Clone power and press the Clone button for 3 seconds to begin the cloning process. The EZ-Clone has 4 progress LEDs that will turn blue to indicate the completed percentage of the clone process. The result is two identical drives containing the same files, boot sector, partition table and file system format. If the target drive is larger than the source drive, the remaining partition of the drive that was not used during the cloning process will be converted as an unallocated partition. You can still repartition and format that partition as extra logical drive.
Appreciate 0
      07-03-2018, 10:34 AM   #26
adzie99
Registered
0
Rep
4
Posts

Drives: BMW 325i
Join Date: Mar 2018
Location: London

iTrader: (0)

Quote:
Originally Posted by p0lar View Post
I just performed this 'upgrade' to my '11 M3. Overall, it's not a bad procedure and everything went as planned. I used the Recadata 256GB mSATA SSD (~$100 shipped) and the Ableconn IIDE-MSAT mSATA SSD to 2.5-Inch IDE Adapter (~$29 shipped).

I also used two other components, though technically only one would have been necessary. The part required to read the OEM drive to an image (this took about 80 minutes on my Macbook Pro using "dd if=/dev/disk3 of=/Volumes/storage/cic_backup.img":

UNITEK USB 3.0 to IDE & SATA Converter External Hard Drive Adapter Kit for Universal 2.5/3.5 HDD/SSD Hard Drive

And to write to it as well as work with it within QNX and PartEd, a USB3 to mSata adapter (I don't have the part # on this as it was something I had on-hand). This procedure took about 13 minutes using "dd if=/Volumes/storage/cic_backup.img of=/dev/rdisk3 bs=64k".

The only hiccup I ran into was that QNX did not like something about the USB3 to mSata adapter, so it would create the qnx6 filesystem, but wouldn't mount it unless it was read-only (which clearly wasn't going to work). To fix this, I mounted it with the "sync=optional" command (though sync=ignore may also have worked) as follows:

Code:
mount -o sync=optional -t qnx6 /dev/hd10t77.4 /root/media
mount -o sync=optional -t qnx6 /dev/hd10t77.5 /root/debug
The full list of qnx commands was very simple.. I also added an extra 15GB VMWare drive to QNX as HD1 to copy the initial bits (it only needs to be large enough to hold your hbmedia and hbdebug partitions) -- do mind your drive names, I won't even pretend to be responsible for data loss if you're not familiar with posix syntax and device naming conventions! My temporary scratch space/virtual drive was /dev/hd1. My usb mSATA adapter was /dev/hd10t77, of which .4 and .5 were the media and debug partitions respectively. I used a couple of environmental definitions that point to the scratch drive and media/debug partitions. This makes it easier NOT to foul up other partitions, though it's not the end of the world if you do since you're working from the replacement drive. May as well alias mount while I'm at it since we're only working with qnx6 filesystems.

Code:
# scratchdrive="/dev/hd1"
# mediapartition="/dev/hd10t77.4"
# debugpartition="/dev/hd10t77.5"
# alias mount="mount -t qnx6"
# mkqnx6fs ${scratchdrive}
# mkdir /root/{saved/{debug,media},debug,media}
# mount ${scratchdrive} /root/saved
# mount -o ro ${mediapartition} /root/media
# mount -o ro ${debugpartition} /root/debug
# cp -Rp /root/media/* /root/saved/media/
# cp -Rp /root/debug/* /root/saved/debug/
# umount /root/{media,debug,saved}
-- make your changes in the partition editor then go back to your qnx VM, check your device lists to ensure your scratch and CIC drive definitions didn't change! --

Code:
# scratchdrive="/dev/hd1"
# mediapartition="/dev/hd10t77.4"
# debugpartition="/dev/hd10t77.5"
# alias mount="mount -t qnx6"
# mount -o ro ${scratchdrive} /root/saved
# mkqnx6fs ${mediapartition}
# mkqnx6fs ${debugpartition}
# mount -o sync=optional ${mediapartition} /root/media
# mount -o sync=optional ${debugpartition} /root/debug
# cp -Rp /root/saved/media/* /root/media/
# cp -Rp /root/saved/debug/* /root/debug/
# umount /root/{media,debug,saved}
-- now disconnect your USB drive from VMWare, mount the mSATA into the adapter, mount the adapter into the CIC adapter and replace in the vehicle --

Notes:
  • Overall, I would say the nav is slightly more responsive, but not lots. The music load is absolutely faster, and I can't imagine ever importing over 175GB of music.
  • There is a way to do this strictly in QNX with just a script without rebooting to use the partition editor, but it would take significantly longer to achieve and would require more scratch space and some script-fu to automate the partition boundaries properly.
  • Thanks to the OP for posting this -- I found a thread on the X5 where others have also done something similar, perhaps without the partition expansions which I think is the real reward here.
  • I'll update this post with the results on how the recadata i6m handles the heat/cold cycles. Overall I feel pretty confident it will do well.
  • OEM HDD, Toshiba Automotive MKxx50GAC Series - The 80GB seems to be the largest Toshiba made in that series so a logical upgrade within the same manufacturer series is out of the question.
  • After giving it more thought, I think I will be adding a small piece of rubber between the mSATA and the chassis in the event that the retention clip doesn't hold. The clip on the Ableconn adapter really isn't designed for automotive use and though it should hang on, my suspicion is that at some point it will let go.
  • After driving about 20 miles with it in, the media is noticeably faster to load, much .. much faster.
Hi,

I have cloned the ssd however I am stuck on the part of resizing the music partition to use the extra space.

Just would like some clear instructions on how to do this if possible.

Many thanks,
Appreciate 0
      07-03-2018, 12:53 PM   #27
Taskmaster
Major General
Taskmaster's Avatar
Japan
2159
Rep
8,814
Posts

Drives: M235i 6MT / E92 328 Msport 6MT
Join Date: Nov 2013
Location: Florida

iTrader: (5)

Yeager - you offered to help me with this before, is the offer still out there?
Appreciate 0
      07-03-2018, 01:44 PM   #28
opjose
Captain
opjose's Avatar
124
Rep
709
Posts

Drives: 335xi
Join Date: May 2016
Location: Md

iTrader: (0)

Quote:
Originally Posted by adzie99 View Post

Hi,

I have cloned the ssd however I am stuck on the part of resizing the music partition to use the extra space.

Just would like some clear instructions on how to do this if possible.

Many thanks,
Not to be disingenuous, but the detailed resizing info was provided in the first post.

It is not a simple thing to do because you are moving partitions around and to do so you must save the data in each one.
Appreciate 0
      08-17-2018, 03:16 PM   #29
n2siast
First Lieutenant
50
Rep
300
Posts

Drives: E93 335i M-SPORT
Join Date: Aug 2013
Location: Richmond, VA

iTrader: (9)

Got most of my items ready to undertake this, including a working VM of Linux. Issue I'm running into now is the QNX VM, can't seem to find where to download.

I tried from the QNX Website, but after requesting the 30 day trial license, I got an email from a developer about setting up a conference call to discuss my need for QNX.

Seems kind of a hassle for the QNX VM Download.
Appreciate 0
      08-17-2018, 04:11 PM   #30
opjose
Captain
opjose's Avatar
124
Rep
709
Posts

Drives: 335xi
Join Date: May 2016
Location: Md

iTrader: (0)

Ubuntu and Mint Linux, I believe have QNX drivers available that would permit you to clone the partitions and resize them.

These are addons available via the repositories.

I have not tried them yet.
Appreciate 0
      08-17-2018, 04:29 PM   #31
n2siast
First Lieutenant
50
Rep
300
Posts

Drives: E93 335i M-SPORT
Join Date: Aug 2013
Location: Richmond, VA

iTrader: (9)

Quote:
Originally Posted by opjose View Post
Ubuntu and Mint Linux, I believe have QNX drivers available that would permit you to clone the partitions and resize them.

These are addons available via the repositories.

I have not tried them yet.
I have the Linux Mint (Cinnamon version) running and was able to image a few other drives I have, but didn't undertake the CIC drive as of yet as I'm waiting on my Zheino Drive to arrive.

Worse case is I ignore QNX altogether and forego increasing the partition.

Either way, I'll be happy with the upgrade as it seems my current CIC Drive is getting slower for some reason.
Appreciate 0
      08-24-2018, 02:23 PM   #32
n2siast
First Lieutenant
50
Rep
300
Posts

Drives: E93 335i M-SPORT
Join Date: Aug 2013
Location: Richmond, VA

iTrader: (9)

Finally got this done. I actually used Paragon HD Manager to make a backup on my local HDD, then restored the image to the new Zheino SSD.

Only thing I didn't tackle was resizing the partition as I'm sure I'm missing something within QNX. I tried both VMWare Pro, VMWare Fusion and Virtualbox and seem to be missing a step or a few somewhere.

But overall, pretty happy with the results. Drive worked on the first try. Nav and responses noticeably quicker, music loads faster, but not by much compared to the original drive.

I'll continue playing around with QNX and UBCD, I'm sure I'll get it eventually.
Appreciate 0
      09-08-2018, 02:24 AM   #33
ckegg
台灣人
ckegg's Avatar
United_States
28
Rep
380
Posts

Drives: 335i Sedan Silver
Join Date: Jan 2011
Location: Bay area

iTrader: (10)

Just did this yesterday and glad I did it because found my toshiba drive had bad sectors already. Followed all instruction from first post and the only step took me long was backing up the hard drive. While my drive had bad sector, dd wouldn't work and I had to use ddrescue instead on step #6

Code:
ddrescue -d -r3 /dev/sdc CIC_Drive.img logfile
The last argument "logfile" is optional. See ddrescue manual for more information.

I used kingston 240gb while it is so cheap on amazon currently, my iDrive boots into navigation so much faster. Now I have a drive backup image and I am not going to worry drive fails in my CIC anymore.
Appreciate 0
      09-08-2018, 04:29 PM   #34
n2siast
First Lieutenant
50
Rep
300
Posts

Drives: E93 335i M-SPORT
Join Date: Aug 2013
Location: Richmond, VA

iTrader: (9)

Quote:
Originally Posted by ckegg View Post
Just did this yesterday and glad I did it because found my toshiba drive had bad sectors already. Followed all instruction from first post and the only step took me long was backing up the hard drive. While my drive had bad sector, dd wouldn't work and I had to use ddrescue instead on step #6

Code:
ddrescue -d -r3 /dev/sdc CIC_Drive.img logfile
The last argument "logfile" is optional. See ddrescue manual for more information.

I used kingston 240gb while it is so cheap on amazon currently, my iDrive boots into navigation so much faster. Now I have a drive backup image and I am not going to worry drive fails in my CIC anymore.
Do you notice any startup speed increase with music on the HD? Mine is hit and miss, sometimes it's almost instant, but most of the time it takes about 45 seconds for the music to start up. Not sure what it is as I didn't really time the music in the OEM drive. My expectation was music would be near instant, similar to Nav starting up, but that's not the case.
Appreciate 0
      09-17-2018, 11:45 AM   #35
Tdbennett
Registered
0
Rep
1
Posts

Drives: 09 Z4 35i
Join Date: Sep 2018
Location: UK

iTrader: (0)

Help please

Hi,

Im new to this and in attempting to do this I have killed my HDs. If I were to send a new mSata hard drive in the adapter, would anyone be willing to copy the files onto it? I would happily pay for the service, thanks
Appreciate 0
      11-08-2018, 09:52 PM   #36
pavjayt
Registered
0
Rep
2
Posts

Drives: 2009 E61 LCI
Join Date: Sep 2017
Location: SF Bay Area

iTrader: (0)

I just tried doing this with Zheino drive and was not successful, no DVD playback and navigation, replaced it with stock drive, everything is back to normal. Followed the guide for cloning it word to word and made sure all partitions are as shown after its done.

Any suggestions?
Appreciate 0
      11-09-2018, 01:50 AM   #37
pavjayt
Registered
0
Rep
2
Posts

Drives: 2009 E61 LCI
Join Date: Sep 2017
Location: SF Bay Area

iTrader: (0)

Quote:
Originally Posted by p0lar View Post
I just performed this 'upgrade' to my '11 M3. Overall, it's not a bad procedure and everything went as planned. I used the Recadata 256GB mSATA SSD (~$100 shipped)
Did you extend the partition to its full 256GB or only to stock 128GB?

thanks
Appreciate 0
      11-10-2018, 09:01 AM   #38
Jagaer
Private
Canada
90
Rep
96
Posts

Drives: 2011 E91 328xi 6MT
Join Date: Aug 2017
Location: Kingston, Ont

iTrader: (0)

pavjayt

Let's rule out any hardware incompatibilities first. Use linux to "dd" clone the drive, then test it in the CIC without any additional changes. (Step #9 "Put this back in your CIC and test it out. If Nav loads, you've successfully cloned the drive, and have a working adapter")

Although the Zheino was known to be compatible, manufacturers do sometimes change internal designs (rev updates) without updating the packaging.
Appreciate 0
      Yesterday, 04:57 PM   #39
brettcp
Private First Class
United_States
29
Rep
142
Posts

Drives: 2012 E93 M3
Join Date: Mar 2011
Location: So Cal

iTrader: (0)

I just did this using the parts in the original post (the mSATA drive with mSATA to PATA adapter). I opted for the 128GB mSATA drive as I have no need for media storage.

I first thought I may be able to take the easy route and just use Acronis True Image to do a disk to disk clone (sector by sector it claimed).. This took 5 hours but didn't work - navigation was greyed out. I suspect this was due to how Windows handles things.

I then used Clonezilla (used Tuxboot to create a bootable USB drive with Clonezilla). I used Clonezilla's "drive to drive clone" feature, then selected "Custom/Advanced" (versus Easy mode) - where there was a screen with 15+ options to choose from. I unchecked everything, then ONLY checked "Sector by sector clone (inefficient but works with all file systems)". Left all other options at their defaults, it took a few hours to clone and sure enough it works perfect. I did not re-size the media partition as I have no need to do so.

Nice to have a non-spinning drive in there now. Moving around in the navigation maps is definitely quicker.
Appreciate 0
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off


All times are GMT -5. The time now is 07:49 AM.




e90post
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
1Addicts.com, BIMMERPOST.com, E90Post.com, F30Post.com, M3Post.com, ZPost.com, 5Post.com, 6Post.com, 7Post.com, XBimmers.com logo and trademark are properties of BIMMERPOST