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 12-31-2005, 09:44 AM
 
Join Date: Sep 2005
Location: USA
Posts: 91
jhwatts is on a distinguished road
EMC Install

I am experiencing an install problem. The installation goes perfect with no error but as soon as I reboot the computer I get grub errors at the first start up. Can anybody tell me how to approach this problem.
Tweet this Post!Share on Facebook
Reply With Quote

  #2   Ban this user!
Old 12-31-2005, 10:00 PM
 
Join Date: Sep 2005
Location: USA
Posts: 8
cncdreamer is on a distinguished road
Re: EMC Install

jhwatts:

Without more information, I have to assume this is a generic grub issue.

Have you read the grub documentation? I searched Google for "grub errors linux" and immediately found the grub troubleshooting pages:

http://www.gnu.org/software/grub/man...eshooting.html

At a glance, this documentation can tell you much more than I can because grub always worked for me.

Good luck.

Regards,
Kent
Tweet this Post!Share on Facebook
Reply With Quote

  #3   Ban this user!
Old 12-31-2005, 10:38 PM
 
Join Date: Jul 2005
Location: USA
Posts: 81
klick0 is on a distinguished road
I may be wrong on this, but depending on your system grub may have problems loading if you are using a large partition as to where it puts the boot files. Generally speaking you should of configured a /boot partition as the first primary partition around 128MB's.. I never do autopartition, if you used autopartition, it may have done this for you, if not I would definatly re-install and create a /boot partition as a first primary partition, and give it 128MB or greater.

If you've done this, or if the autopartitioner did, then I would refer you to the grub faq as in the previous post, as I am not a grub expert.

If you can't get grub to work, you may be able to use lilo, i've only done BDI install twice (on 2 different systems) some linux distro's allow you to select the bootloader. Lilo was the old standard and now grub is the new standard, but lilo works fine. I don't remember if the BDI allows the selection of Grub or not.

If you are running multiple drives on the system, make sure you are installing it on the correct drive as well. Perhaps you are planning to dual boot I dunno, that could entail a lot of different problems into the equation though. We'd need more info

good luck,
Ross
Tweet this Post!Share on Facebook
Reply With Quote

  #4   Ban this user!
Old 01-02-2006, 12:24 PM
 
Join Date: Sep 2005
Location: USA
Posts: 91
jhwatts is on a distinguished road
Drive Partition

I am going to manually partition the hard drive. Can Klick0 suggest what sizes I will need to make the additional partitions? (exe. swap) I have never done it manually and I would like to know what I will need to allocate for the additional partitions. I am getting frustrated because my system is together and I can run all my motors using my computer with emc in my house. I have three older computers I am using in my shop so I swapping parts to try to get one of the three to run. What has got me baffled is the install completes without any errors but when I reboot I get grub prompt and that is it. I thought the computer would be the last thing to hold me up.

Last edited by jhwatts; 01-02-2006 at 05:06 PM.
Tweet this Post!Share on Facebook
Reply With Quote

  #5   Ban this user!
Old 01-02-2006, 04:30 PM
 
Join Date: Jul 2005
Location: USA
Posts: 81
klick0 is on a distinguished road
Based on the grub output it can tell you things like which stage of the bootloader that is getting hung at. If it doesn't even say "Stage 2" then it can't access the hard drive, which generally can be fixed with partitioning or some special commands in grub's setup.

As far as partitions, my emc box is setup like this (as I set almost all my boxes up like this)
/boot ext3 128M
swap 256M (this really doesn't matter, unless you have very little memory, and if you don't have enough ram to run emc, it's just not gonna work anyway)
/ ext3 check fill to end/max

Also, make sure you click force primary partition on ALL partitions.

Here is my sfdisk -d:
localhost:~# sfdisk -d /dev/hda
# partition table of /dev/hda
unit: sectors

/dev/hda1 : start= 63, size= 256977, Id=83, bootable
/dev/hda2 : start= 257040, size= 530145, Id=82
/dev/hda3 : start= 787185, size= 38282895, Id=83
/dev/hda4 : start= 0, size= 0, Id= 0
localhost:~#

your start and end numbers will vary with you hard drives block size, in my case they are 512bytes
/dev/hda1 is /boot
/dev/hda2 is SWAP
/dev/hda3 is / (root)

Basically the key to this is /boot being first, makes the bootloaders job easier..

Well that's what I do on all my linux comptuers and i've never had issues with grub, so I hope it works for you.

Ross
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 01-02-2006, 05:14 PM
 
Join Date: Sep 2005
Location: USA
Posts: 8
cncdreamer is on a distinguished road
Re: EMC Install

Ross beat me to it! The most important issue is to be sure the /boot partition comes first because it is the only one that has to be read before Linux itself is running and thus the one most likely to give trouble if it is too big or starts too high in the cylinder list.

The size of the swap partition isn't so important, for the reasons Ross gave. Systems with a relatively large amount of RAM never swap in normal operation and can get by with no swap partition at all. I was taught long ago that the swap partition should be at least twice the size of physical RAM, and, on the BDI-4.30 install here at home, that seems to be what the autopartitioning got me (256MB RAM; apx 530MB swap space). Opinions differ on what the right size is, but as Ross said, if you're swapping, then your RAM is too small for EMC anyway.

In your first message you said you get grub errors but in your later message you say you get the grub prompt. Are you getting error messages and if so what are they?

Regards,
Kent
Tweet this Post!Share on Facebook
Reply With Quote

  #7   Ban this user!
Old 01-05-2006, 09:23 AM
 
Join Date: Sep 2005
Location: USA
Posts: 91
jhwatts is on a distinguished road
Emc

I have reserved manually 130 mb for the boot partition but still no luck. I have reset the bios pin on the motherboard to reset the entire mother board bios settings but what is strange no prompt occur during startup to allow me to make changes in the bios. I have even tried to install Windows XP on it and it gives me an error. I am thinking its some kind of major hardware error. I am sorry for my loose use of language it was a grub prompt not an grub error.
Tweet this Post!Share on Facebook
Reply With Quote

  #8   Ban this user!
Old 01-07-2006, 11:11 AM
 
Join Date: Sep 2005
Location: USA
Posts: 8
cncdreamer is on a distinguished road
EMC install

I've run out of suggestions. I hope it doesn't take too long to diagnose and fix (or replace as the case may be).

Regards,
Kent
Tweet this Post!Share on Facebook
Reply With Quote

  #9   Ban this user!
Old 01-07-2006, 11:54 AM
 
Join Date: Jul 2005
Location: USA
Posts: 81
klick0 is on a distinguished road
It sounds to me as if your hard drive is not in the boot order inside your bios. Your cd-rom is though which is what you use to bootup and run the installer. The installer of any OS is not going to care if your bios's boot order is includes the hard drive you are installing too. I would go into your bios and verify your hard drive is second in the boot order. Clearly your cd-rom is first, and if you have a floppy drive throw it away.

Every bios says something different but i'm assuming the error you are getting is non-bootable disk, press any key to try again... something like that, maybe.

Ross
Tweet this Post!Share on Facebook
Reply With Quote

  #10   Ban this user!
Old 01-09-2006, 06:36 PM
mdynac's Avatar  
Join Date: Jan 2006
Location: USA
Age: 53
Posts: 84
mdynac is on a distinguished road
which emc version are you trying to install?

is it a BDI? if so which one?
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
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





All times are GMT -5. The time now is 06:39 AM.





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