CNCzone.com-The Largest Machinist Community on the net!



Home Page Mark Forums Read Today's Posts My Replies Classifieds Reviews Photo Gallery Web Links Share Files Advertise With Us Ad List
Go Back   CNCzone.com-The Largest Machinist Community on the net! > Machine Controllers Software and Solutions > LinuxCNC (formerly EMC2)


LinuxCNC (formerly EMC2) Discuss LinuxCNC (formerly EMC2) Controlers here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 07-15-2008, 12:33 PM
 
Join Date: Oct 2006
Location: USA
Posts: 205
123CNC is on a distinguished road
Ubuntu/EMC2 Bootable Flash Drive

Since my PC will be mounted within one of the machine's control boxes, I would like to mitigate any vibration troubles with a traditional hard drive. I'm attempting to install EMC2 on a flash drive and make it the boot device. There seems to be a few variables to success, including flash device, BIOS, and proper install of Ubuntu/Linux (grub). I was hoping someone might want to share their success story to help cut through the chase.

If I can, I would like to keep the old Dell currently installed with PCI and Mesa 5i20 boards and just find a hard drive/ flash drive work around. Unfortunately the Dell BIOS is too old, not compatible with flash memory as a boot option. Is there any one to make the Dell think the flash is a regular hard drive, e.g. an IDE to USB/ethernet or direct to flash/ cheap SS drive?

I will consider replacing the Dell, if someone has a sure fire PC/BIOS and flash device recommendation (and PCI slot to accept Mesa 5i20).
Reply With Quote

  #2   Ban this user!
Old 07-15-2008, 12:53 PM
 
Join Date: Jul 2003
Location: Holmen, WI
Posts: 1,081
samco is on a distinguished road

I followed these directions using the emc2 live hardy cd..

http://www.ryancloke.com/ubuntu-804-...ve-usb-how-to/

seems to work ok..

sam
Reply With Quote

  #3   Ban this user!
Old 07-15-2008, 08:10 PM
 
Join Date: May 2005
Location: canada
Posts: 1,149
cyclestart is on a distinguished road

Originally Posted by 123CNC View Post
Unfortunately the Dell BIOS is too old, not compatible with flash memory as a boot option. Is there any one to make the Dell think the flash is a regular hard drive, e.g. an IDE to USB/ethernet or direct to flash/ cheap SS drive?
Wonder what the practical length limitations are on a regular hard drive ribbon cable? Would be a simple solution if it works.

I think the solution samco linked assumes ability to boot usb?

Edit/ A quick search shows IDE cables available at 36" but 18" recommended max. Another backyard mechanic idea shot down in flames
__________________
Anyone who says "It only goes together one way" has no imagination.
Reply With Quote

  #4   Ban this user!
Old 07-15-2008, 08:32 PM
 
Join Date: Oct 2006
Location: USA
Posts: 205
123CNC is on a distinguished road

cyclestart,

I considered the remote mount. I consulted with Dr. Google on the practical limit of IDE ribbon cable, 18 inches. I'm afraid that won't get me out of the cabinet, but will have to double check.

SAMCO's response is definitely part of my problem if I go the flash drive route. Proper install of Hardy Heron is one of the hurdles.

I'm still hoping someone might speak up about any success with Ubuntu 8.04, specific flash drive/device, and BIOS/PC make and model.
Reply With Quote

  #5   Ban this user!
Old 07-17-2008, 02:26 AM
 
Join Date: Nov 2006
Location: USA
Posts: 16
Glennza is on a distinguished road

How about using a compact flash card with an IDE adapter? The computer will just see it as another hard drive. Not sure how much space an EMC install takes, but I'm using this setup with DOS and TurboCNC and it works great. My system is dedicated to running the mill so it only needs a 16Mb card to hold everything.

How small can you make a Ubuntu/EMC install if you strip out everything that isn't needed as a controller (games, Open Office, browser, etc.)?

Glenn
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 07-17-2008, 03:03 PM
 
Join Date: Oct 2006
Location: USA
Posts: 205
123CNC is on a distinguished road

Before going to a new PC/BIOS, I thought I would try the IDE to CF adapter route and the aforementioned, Samco, Hardy install to USB flash.

Wow, what a long and arduous path to install Hardy on a USB. It seems ripe for someone to make a scripted program either in Linux or Windows to walk through all that. I guess my typing skills make me more prone to being a Windoze user. In the end I got no better or different results than doing a direct autoCD load to the flash (on a different PC, with compatible BIOS), it looked promising, boots, splash screen, user and password prompts, then hangs.

Initial attempts at IDE to CF just couldn't get me around the old DELL BIOS. There are are only 3 permissible drives/types allowed in the boot cycle, CDROM, HD-C, and floppy. One site recommended formatting the flash in the exact fashion of a known working HD-C, cylinders/sectors/tracks. Haven't tried that yet. Dropping out into ASH with error messages. So I tried the IDE-CF method in yet another, newer PC, and the Hardy AutoLoad CD wouldn't run, so I tried the older Dapper CD install. Dapper booted up and started the install, initially estimating 15 min. which later changed to 52 minutes, which later ended in an installer crash (tried it twice, maybe the second time? Nope, installer crash).

It is apparent that either I have a lot of crappy hardware, or it is random chance that the auto load CD will even work on a given system.

I'm back to seriously considering trying the max IDE ribbon cable length of 36", and keep cutting it down to see what length will work and if I'm outside the cabinet.

Another zoner PM'd me with success on a given motherboard/chipset (and should be same compatible BIOS) and where it might be obtained. I may have to look into it.

Right now its looking like I will have to abandon the old Dell, go with newer BIOS. Although even with newer BIOS, I'm not sure if it is hardware/format or Linux SW install issue.

I hate these little research projects, especially knowing others must have already blazed this trail. I'm hoping to reduce some variables to increase the chance of success.
Reply With Quote

  #7   Ban this user!
Old 07-17-2008, 05:07 PM
 
Join Date: Sep 2007
Location: USA
Posts: 9
nonubbins is on a distinguished road

There are are only 3 permissible drives/types allowed in the boot cycle, CDROM, HD-C, and floppy.

My computer doesn't boot USB either but I installed an OS on it and use a boot floppy with grub on it. That will get you out of the cabinet and no power cables to mess with. Also, could plug it into another computer to download your g-code to it. I'm starting to mess with EMC2 to see how small an install I can get and this gives me some ideas.
Reply With Quote

  #8   Ban this user!
Old 09-07-2008, 08:19 PM
gfc62's Avatar
Platinum Member
 
Join Date: Mar 2008
Location: US
Posts: 80
gfc62 is on a distinguished road
Anyone using Addonics IDE/CF adapter?

Is anyone else able to use the Addonics IDE-CF adapter to boot Ubuntu?

The closest I've come was when the format failed when partitioning the CF card. Other times the installer didn't even see the card.

I'm using a somewhat odd motherboard (Intel D945GCLF Atom/ITX) and since the MB only has a single IDE connector I'm booting the install CD from a SATA CD drive. I'm going to try later this week with a more standard motherboard but wanted to see if anyone else is able to make this work.
Reply With Quote

  #9   Ban this user!
Old 09-08-2008, 01:14 AM
 
Join Date: Feb 2007
Location: USA
Posts: 531
skullworks is on a distinguished road
Exclamation Bad Latency times

I used an older Quantum "Bigfoot" IDE HDD on my EMC2 ITX board test.

The latency times were not great, to almost dismal. Turns out the HDD was not 100% UATA/UDMA compliant and that caused timing issues with the kernal filesystem support. After swapping HDD with a newer Seagate Barracuda UATA - all was great, new tests yielded much better results.

If possible when trying to use a USB or IDE/CF you might consider loading everything into a ram drive on boot to improve timing.
Reply With Quote

  #10   Ban this user!
Old 09-08-2008, 01:37 AM
 
Join Date: Apr 2004
Location: Martinez, CA
Posts: 40
Ryobiguy is on a distinguished road

If going with a flash based system doesn't work and you need to use a real HD to a) actually work and b) get good performance, then maybe you could build some kind of shock mount for the hard drive. I can't remember exactly, but HDs can take something like 7G when not running, and 3G while running.

If I were to quickly rig something up to absorb the vibration, I'd consider maybe some kind of bungee suspension (think musician touring rack mounts,) or maybe some kind of soft rubbery mounting pads.

But, it would be pretty sweet if the flash worked right and didn't cause any issues. Flash is catching up, but in this day and age it still seems odd that something so important as the computer's main storage is still a mechanical disk whizzing around.

-Matt
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 09-08-2008, 08:19 AM
gfc62's Avatar
Platinum Member
 
Join Date: Mar 2008
Location: US
Posts: 80
gfc62 is on a distinguished road
more than just shock proofing

For me using an electronic disk is about more than shock resistance. reduced heat, lower power consumption and increased reliability in a harsh environment are big draws.
Reply With Quote

  #12   Ban this user!
Old 09-08-2008, 03:45 PM
 
Join Date: May 2006
Location: UK
Posts: 85
kudos is on a distinguished road

Hi,

we where faced with the same problem as we two wanted to mount out control into the machines control cabnet where the old control was.


we used a solidstate hard drive, i know they are still pritty new and little rich on money but they do work very well and are as fast if not faster than a IDE/SATA drive depending make and which one you get etc. (as some are not true solidstate on ram chips and work like a USB pen which is not all too good acting as a hard drive in read and write situations)

we have just built a EMC control with a Mtron 2.5" solidstate drive, 32gb in size on SATA interface, so more than enough space for Gcode programs and EMC to sit on. as 2.5" is in a SATA setup works with any motherboard, they also do 3.5" in IDE and sata too, so u could use the IDE 3.5" (where the 2.5" will have laptop IDE connections)
i belive they do 100gb+ versions now also.

the bios sees them just like a normal hard drive so there is nothing different to do than one would do setting up a normal drive.

im not sure which takes longest, doing all the BIOS boot stuff, or booting into unbuntu now
Reply With Quote

Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
HELP!!! Sherline/Ubuntu 6.06/EMC2 - Configuration Telle Benchtop Machines 15 03-21-2009 05:54 AM
Any plan for Ubuntu 8.04 + EMC2? david_geng LinuxCNC (formerly EMC2) 22 05-19-2008 08:43 PM
TROUBLE W/EMC2 UBUNTU 6.06 DOWNLOAD Gads LinuxCNC (formerly EMC2) 2 01-22-2008 08:10 PM
Ubuntu 6.06 & EMC2 tenmetalman LinuxCNC (formerly EMC2) 19 10-11-2006 09:23 PM
New live Ubuntu 6.06 with EMC2 samco LinuxCNC (formerly EMC2) 0 09-20-2006 09:32 AM




All times are GMT -5. The time now is 05:24 PM.





Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Content Relevant URLs by vBSEO
Template-Modifications by TMS

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361