Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
fdisk output
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
freeflyer
n00b
n00b


Joined: 26 Jun 2004
Posts: 60

PostPosted: Fri Jul 02, 2004 3:03 am    Post subject: fdisk output Reply with quote

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
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7313
Location: Groton, Massachusetts USA

PostPosted: Fri Jul 02, 2004 3:31 am    Post subject: Reply with quote

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
View user's profile Send private message
freeflyer
n00b
n00b


Joined: 26 Jun 2004
Posts: 60

PostPosted: Fri Jul 02, 2004 4:00 am    Post subject: Reply with quote

thanks cyrillic,
how could i check to be certain that this is the case?
Back to top
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7313
Location: Groton, Massachusetts USA

PostPosted: Fri Jul 02, 2004 5:39 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum