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 01-05-2008, 10:34 AM
 
Join Date: Jun 2007
Location: usa
Posts: 9
piedpiper is on a distinguished road
Ubuntu 6.06 vs Ubuntu 7.1

Well, I had installed version 7.1 after playing with 6.06 on the live CD and hoping that it wouldn't be to much trouble to get EMC-2 up and running on the latest and greatest Ubuntu. After I reviewed the proceedure and ruminated a while i said to myself - Self, just install the 6.06 and let it go! Well, that's happening now I think Its probably wiping out 7.1 -- I don't think It would wipe out XP(also on this machine). Just rebooted and got a Grub ERROR 18!! and because that controls the access to the disk the machine is now down and I don't have access to it. Damn!! Version 7.1 was playing quite nicely with XP -well it had elbowed it over rudely on install but took care of the partition all right. Now I'm dead in the water!

(AMD Athalon 1600 with 400M of memory)
Reply With Quote

  #2   Ban this user!
Old 01-05-2008, 12:15 PM
kanton's Avatar  
Join Date: Jun 2003
Location: USA
Posts: 232
kanton is on a distinguished road

I had Version 7.1 on one drive and XP on another in my Core 2 Duo computer. After I removed the Ubuntu drive I tried to remove Grub. This resulted in wiping out XP. I had to repartition, reformat and reinstall XP. Fortunately, I did a backup of the XP drive before trying to remove Ubuntu. Unfortunately, I used the XP backup software but eventually I did manage to retrieve the files I wanted on the XP drive.

As a result of this experience I will never install Ubuntu and Windows on the same computer unless I consider all the files on the system to be expendable.

I hope your luck is better than mine.
Reply With Quote

  #3   Ban this user!
Old 01-05-2008, 06:38 PM
 
Join Date: Jun 2007
Location: usa
Posts: 9
piedpiper is on a distinguished road
Ubuntu 6.06 vs.Ubuntu 7.1

Ended up telling 6.06 to format the drive and install itself regardless as I need EMC_2 operating and need to assess its capabilities. It did just that and now I am without a spare machine with XP and 7.1. I am thinking of trying to install 7.1 along side of 6.06 but as I really don't need a spare XP and the 7.1 was in hope that EMC-2 would run on the newest release, I guess I should be happy!
Reply With Quote

  #4   Ban this user!
Old 01-06-2008, 07:18 AM
 
Join Date: May 2005
Location: canada
Posts: 1,149
cyclestart is on a distinguished road

3 solid pieces of advice

#1 don't panic !
#2 seek help on the ubuntu forums. The accumulated abilities there are unbeatable.
#3 see #1

Originally Posted by piedpiper View Post
Well, that's happening now I think Its probably wiping out 7.1 -- I don't think It would wipe out XP(also on this machine).
You think or you know? Boot up one of your ubuntu cd's, open up a terminal and try this;

The <> is just to point out these are commands. The "l" is a lowercase L.
Hopefully your seeing a ntfs partition, one or more linux partitions and a swap partition of some kind.
Let's say there is a linux partition at /dev/hda2 and you're curious what's on it.

will make a place to mount it


to look for personal files.
for good measure

although rebooting will also unmount it.

Fwiw, I don't think your computer is ancient enough for a real Error 18. More likely GRUB is confused.
__________________
Anyone who says "It only goes together one way" has no imagination.
Reply With Quote

  #5   Ban this user!
Old 01-06-2008, 08:19 AM
 
Join Date: May 2005
Location: canada
Posts: 1,149
cyclestart is on a distinguished road

Wow. How I wrote that long winded response without spotting replies # 2+3 is a mystery.

The situation was recoverable, but seeing as you didn't need the XP, maybe not worth the effort.

Originally Posted by kanton View Post
After I removed the Ubuntu drive I tried to remove Grub. This resulted in wiping out XP.........
As a result of this experience I will never install Ubuntu and Windows on the same computer unless I consider all the files on the system to be expendable.
And there's the rub. Creating a dual boot is a no-brainer these days. Mucking with the installed Windows later on is another story . If only Windows were more user friendly.
__________________
Anyone who says "It only goes together one way" has no imagination.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 01-06-2008, 04:57 PM
 
Join Date: Jun 2007
Location: usa
Posts: 9
piedpiper is on a distinguished road

Hey, cyclestart, thanks for the reply as I said in my Email, I think to you? I couldn't access the drive from boot so I took the live cd and booted from that and told it to go ahead and install , it did and took the whole drive so I now have 6.01 and with EMC-2 on a fairly quick machine with a 140G hard drive and 400M mem. My approach is to wait patiently untill they get EMC working with 7.1 and re install it then.
piedpiper

Last edited by piedpiper; 01-06-2008 at 05:34 PM.
Reply With Quote

  #7   Ban this user!
Old 01-06-2008, 05:30 PM
 
Join Date: Jun 2007
Location: usa
Posts: 9
piedpiper is on a distinguished road

cyclestart and the EMC forum:
Just so you will know this is not just an exercise, I work for a company that, to get into the CNC mill business, purchased a Bridgeport Textron which had blown its controller and the then owner had replaced the controller with three Geckos driven by a Dell running Debian(?sp) and EMC (1). It works ok but is a little irratic and some of the documentation we have is lacking detail. This is the motivation behind moving to this edition.
piedpiper
Reply With Quote

  #8   Ban this user!
Old 01-07-2008, 11:28 AM
guru_florida's Avatar  
Join Date: Nov 2007
Location: United States
Age: 36
Posts: 257
guru_florida is on a distinguished road

If I had gotten to you earlier I could have saved you a lot of trouble. As earlier stated, GRUB was simply confused but it is easily remedied. (Probably dont even need the Live CD.) At the GRUB menu you have many commands available. (use help) For example:

Code:
root (hd0,0)
kernel /vmlinuz root=/dev/hda1
will boot a linux kernal on /dev/hda1 (hd0,0) (hard drive 0, partition 0) given that no initial ramdisk was used. Other commands can be used to specify initrd's, find the kernel when you dont know where it is, and to install a new Master Boot Record. GRUB can be accessed from the boot menu after the POST screen (if the MBR loads GRUB successfully), or otherwise from a live CD by running grub (edit your grub config file first.) I just had a "No OS found error" and used the GRUB menu to find and load my linux and reinstall the MBR. Also, if you uninstall GRUB and linux and your Windows wont boot, you put in your windows XP cd, and choose the restore option to reinstall the MBR (but not overwrite your registry!) and you will be back up in no time.

See GRUB commands (google search "grub commands"):
http://www.redhat.com/docs/manuals/l...-commands.html

Also, even though your EMC2 installed on the whole drive. You could resize the partition using resize2fs and fdisk (you must use both, in that order), and then you would have the space to install windows again. Google "resize ext3 partition".

As for EMC2 and recent ubuntu's:
I just did a lot with GRUB recently as I tried to get EMC2 on my recent ubuntu installation without success. I gave up for the time being and went for a 6.06 installation on a 2GB Compact Flash drive. The minimum requirements stated 2GB but this is not quite true...its more like 3GB including swap. So I installed the 6.06 on a 10GB HD and figured I would use dd (raw copy) to copy the partition to the 2GB flash drive after I uninstalled unneeded programs like openoffice and shrunk the partitions to under 2GB. This actually worked really well. There were some caveats to the process, including reinstalling the MBR using GRUB after dd'ing the partition to CF. I have a 300MB swap and a 1.7GB linux part that is 93% used. Basically, only openoffice and multimedia applications were sacrificed. I now have a fully solid state EMC2 computer with wireless internet, card reader, etc, that boots fast. And EMC2 works great with my machine!

I could probably provide the 2GB image if people are interested.
Reply With Quote

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

Originally Posted by piedpiper View Post
Hey, cyclestart, thanks for the reply as I said in my Email, I think to you?
Hmmm, no Email or PM here. Maybe there's a Mach3 user somewhere with a confused look on his face ?

If you run into issues with that converted Bridgeport , joining the linuxcnc.org user-mailinglist would be a good move. No offense to this forum, but the widest range of experience is available there. Of course nothing says you can't post both places.

guru_florida

Good to see you here. Hope you plan to check in often.
__________________
Anyone who says "It only goes together one way" has no imagination.
Reply With Quote

  #10   Ban this user!
Old 01-09-2008, 08:25 AM
 
Join Date: Jun 2007
Location: usa
Posts: 9
piedpiper is on a distinguished road

I was thinking of going to the Ubuntu forum in another group, but what the heck, I started this, maybe its the best place. I went to the local linux group meeting, this is the ACGNJ, Monday last (took the machine with 6.06 and emc-2 on it to show). Was pretty interesting. Along with some system information I learned that I have been incorrectly refering to the version as 7.1 and it is really 7.10. One thing which they got me hopped up on is this "Synaptic Program Manager". It is really excellent and as opposed to MS where you generally get a complete package on a disk or something else. An Issue which puzzles me is how do you determine a compete package from this list. I think one can select from the list as long as he wants but___? My objective as I need to write some routines and I am fairly literate in C++ , I would like to assemble a Ubuntu compatible package of that ilk and hopefully operate it to put togeather a operating program. It would be nice if it included the tools to assemble a program with a graphical interface -- UH, like a windows app. I was admonished to not just grab all the programs presented in "SPM". But I guess i'm not smart enough to understand how to select a complete group at this point . So that is the question. Given an application like g++ or gcc or what ever how does one assemble a comlete component list. I've got a lot of programs to install using the Add/Remove feature but there is some gaps.

Thanks
piedpiper

Last edited by piedpiper; 01-09-2008 at 08:27 AM. Reason: bad grammer
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 01-09-2008, 09:15 PM
 
Join Date: May 2005
Location: canada
Posts: 1,149
cyclestart is on a distinguished road

Uhhh, can you repeat the question? Translation: this is probably several fathoms beyond my depth

You might want to check for a package called "build-essentials" for starters. Take a look at the dependencies using the properties option. Synaptic will install these automatically.

If you want to make a debian style package from a compiled program, there is a bit of a cheat called CheckInstall. This is really just a convenient way to maintain a system. Some old school type linux users don't use package management at all. Getting the feeling I'm misunderstanding this part of the question.

Component list? Not sure. Do you mean the files that will be installed if you choose to install a package? What other packages (dependencies) which will be dragged along, if not already installed, is always displayed.

I'm impressed by your ambition level. Also curious to see what other responses this question gets, especially from people with packaging or programming experience.

edit/ If you do post this question elsewhere, would you please provide a link? Two of the better forums are LinuxQuestions.org and the official Ubuntu forums. I'm curious how others field this.
__________________
Anyone who says "It only goes together one way" has no imagination.

Last edited by cyclestart; 01-10-2008 at 06:52 AM.
Reply With Quote

  #12   Ban this user!
Old 01-12-2008, 07:29 PM
 
Join Date: Jun 2007
Location: usa
Posts: 9
piedpiper is on a distinguished road
Ubuntu 6.06 vs 7.10

I'm going to just study for a while and see if I can get some of the details down. These packages are so complex that its difficult tracing down a factoid one may want to play with. For example today, I have been looking at the graphical interfaces, one in particular would seem to meet my needs if I can figure how to increase backplot size make it cover more territory. In regard to the previous message, I can tell I have confusued the Hell out of you. Yes, I am thinking of doing some things some quite comples and having a C++ compiler is required but I think I'm going to have to just study the problem and maybe get a book or two!!! I'll be back.

Last edited by piedpiper; 01-12-2008 at 07:35 PM. Reason: bad grammer
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
Do you have to use ubuntu? phantomcow2 LinuxCNC (formerly EMC2) 11 10-03-2010 06:46 AM
DNC for Linux Ubuntu ? Meccbell OpenSource Software 7 08-31-2010 09:53 AM
What DNC for Linux Ubuntu ? Meccbell Machine Problems, Solutions , Wireless DNC, serial port 8 10-23-2008 04:37 AM
not ubuntu Mr Bits LinuxCNC (formerly EMC2) 22 12-19-2007 08:12 AM
Ubuntu 6.06 & EMC2 tenmetalman LinuxCNC (formerly EMC2) 19 10-11-2006 09:23 PM




All times are GMT -5. The time now is 02:58 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