Author Topic: Linux  (Read 2655 times)

0 Members and 1 Guest are viewing this topic.

Offline hazzer123Topic starter

  • Supreme Robot
  • *****
  • Posts: 460
  • Helpful? 3
Linux
« on: May 08, 2007, 11:21:09 AM »
Hey

I really want to test out some of the simulators on linux and i managed to get an old computer (P4 1.7GHz 256mb ram). I am trying to install Ubuntu 7.04 feisty fawn but i have a problem.

The live CD loads up and i click the intall icon. I go through the process choosing "guided install - use entire disk". It installs - takes about 2 hours which I'm not sure if its right.

when i restart it after the installation is finished i get "Grub loading stage1.5Read error".

I updated the BIOS on my motherboard (Asus P4S8X-MX) because i read that it might fix it. And it did. For a few times. After about 4 restarts, i started getting the same message.

Since then i have tried using a different hard drive, manual install, everything i could think of.

Can anyone offer some advice?
Imperial College Robotics Society
www.icrobotics.co.uk

Offline sdk32285

  • Supreme Robot
  • *****
  • Posts: 424
  • Helpful? 0
Re: Linux
« Reply #1 on: May 08, 2007, 11:46:50 AM »
Go into the single user mode.
    you will probably need the CD to go into the single/restore/recovery/etc.. mode.

type grub or /sbin/grub this puts you in the grb console (ex.  grub> )

type root (hd0,0)

hd0 = the harddrive and 0 = partition on the harddrive for boot partition
you can see your partition table using fdisk -l

The output of root (hd0,0) will describe the partition you selected.


type setup(hd0) hd0= location to install grub

type quit

type reboot
Robots for Roboticists Blog - http://robotsforroboticists.com/

Offline hazzer123Topic starter

  • Supreme Robot
  • *****
  • Posts: 460
  • Helpful? 3
Re: Linux
« Reply #2 on: May 08, 2007, 12:32:58 PM »
Thanks for your reply!

Did you mean hda instead of hd0?

it had no hd0 drive in it. When i typed root (hda,0) it said "Error 23 = Wrror while parsing number"

hmmmm Im starting to think its the motherboad. I can get the partitions up with fdisk either.

Thanks
Imperial College Robotics Society
www.icrobotics.co.uk

Offline dunk

  • Expert Roboticist
  • Supreme Robot
  • *****
  • Posts: 1,086
  • Helpful? 21
Re: Linux
« Reply #3 on: May 08, 2007, 01:29:13 PM »
nope. he means hd0.
grub is communicating with your hardware long before the conventions of an operating system give the disk the name hda.
hd0,0 is the first partition on the first disk as you mother board finds them.

so, the first thing i'd do, go into your mother board's BIOS configuration and reset to factory defaults.

now, from the rescue CD sdk32285 had you boot,
try the following commands:
Code: [Select]
ls -l /dev/sd*
Code: [Select]
ls -l /dev/hd*if your PC has a parallel ATA disk it will appear under /dev/hd*
if it's a SATA mobo then the disk will appear under /dev/sd*

observe the following output from my laptop:
Code: [Select]
root@lappy:~# ls -l /dev/hd*
ls: /dev/hd*: No such file or directory
root@lappy:~# ls -l /dev/sd*
brw-rw---- 1 root disk 8, 0 2007-05-08 18:50 /dev/sda
brw-rw---- 1 root disk 8, 1 2007-05-08 18:50 /dev/sda1
brw-rw---- 1 root disk 8, 2 2007-05-08 18:50 /dev/sda2
brw-rw---- 1 root disk 8, 3 2007-05-08 18:50 /dev/sda3
brw-rw---- 1 root disk 8, 5 2007-05-08 18:50 /dev/sda5
root@lappy:~# fdisk -l /dev/sda

Disk /dev/sda: 100.0 GB, 100030242816 bytes
255 heads, 63 sectors/track, 12161 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        3040    24418768+   7  HPFS/NTFS
/dev/sda2            3041       11787    70260277+  83  Linux
/dev/sda3           11788       12161     3004155    5  Extended
/dev/sda5           11788       12161     3004123+  82  Linux swap / Solaris

are you seeing disk partitions when you do this?

dunk.

Offline adanvasco

  • Full Member
  • ***
  • Posts: 107
  • Helpful? 6
  • Necessity is the mother of invention.
Re: Linux
« Reply #4 on: May 29, 2011, 10:47:59 PM »
Did you get it finally working?
Knowledge does not weigh.

 


Get Your Ad Here