View previous topic :: View next topic |
Author |
Message |
freeflyer n00b
Joined: 26 Jun 2004 Posts: 60
|
Posted: Fri Jul 02, 2004 3:03 am Post subject: fdisk output |
|
|
I'm trying to solve a grub error 15 problem, something i've come across and don't understand is the following:
when i enter fdisk (ie fdisk /dev/hda) and check my partition scheme I get what I entered several nights ago and is exactly what the handbook has listed.
from livecd boot# or livecd root# with fdisk -l i get the following craziness:
Code: | Device Boot Start End Blocks
/dev/ide/host0/bus0/target0/lun0/part1 *
/dev/ide/host0/bus0/target0/lun0/part2 This side remains the same
/dev/ide/host0/bus0/target0/lun0/part3 as before. |
If someone could explain what's going on that'd be great.
wouldn't tab completion in the code part of this editor be kickass? |
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Fri Jul 02, 2004 3:31 am Post subject: |
|
|
The device names you are getting are probably just symlinks to /dev/hda.
Code: | # ls -l /dev/ide/*/*/*/*/*
lrwxrwxrwx 1 root root 18 Jul 1 18:17 /dev/ide/host0/bus0/target0/lun0/disc -> ../../../../../hda
lrwxrwxrwx 1 root root 19 Jul 1 18:17 /dev/ide/host0/bus0/target0/lun0/part1 -> ../../../../../hda1
lrwxrwxrwx 1 root root 19 Jul 1 18:17 /dev/ide/host0/bus0/target0/lun0/part2 -> ../../../../../hda2
lrwxrwxrwx 1 root root 18 Jul 1 18:17 /dev/ide/host0/bus1/target0/lun0/disc -> ../../../../../hdc
lrwxrwxrwx 1 root root 19 Jul 1 18:17 /dev/ide/host0/bus1/target0/lun0/part1 -> ../../../../../hdc1
lrwxrwxrwx 1 root root 19 Jul 1 18:17 /dev/ide/host0/bus1/target0/lun0/part2 -> ../../../../../hdc2 |
|
|
Back to top |
|
|
freeflyer n00b
Joined: 26 Jun 2004 Posts: 60
|
Posted: Fri Jul 02, 2004 4:00 am Post subject: |
|
|
thanks cyrillic,
how could i check to be certain that this is the case? |
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Fri Jul 02, 2004 5:39 pm Post subject: |
|
|
Just use "ls -l" on the device in question. If you see an arrow ( -> ) it will point to the real device that it is linked to. |
|
Back to top |
|
|
|