Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
fdisk / partitions
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
B0sk0
n00b
n00b


Joined: 07 Apr 2016
Posts: 9

PostPosted: Thu Apr 07, 2016 7:39 pm    Post subject: fdisk / partitions Reply with quote

So, when I run the command fdisk -l
Lots of partitions come up which I don't know what they are.
https://gyazo.com/0cc76649e0bad16b7350f097e3b8a936

So then when I do an fdisk /dev/sda and then p; here's the output
https://gyazo.com/eb063da40c0274485b35be2f6be7d9b8

I am honestly confused and in need help/guidance
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43197
Location: 56N 3W

PostPosted: Thu Apr 07, 2016 7:53 pm    Post subject: Reply with quote

B0sk0,

Welcome to Gentoo.

All those /dev/ram... are areas of your RAM you can use as if they were a hard drive.
There is one important difference. - they forget everything at power down. Just ignore them for now.

/dev/loopX is a way to treat a file as if it were a hard drive. Its quite literally a disk filesystem in a file.
You will use them later to look at the contents of CD images without burning a CD.
The liveCDs put their root filesystem it a compressed file and mount them this way.

/dev/sda is your real HDD. Its only 70G, which is a very odd size.
Its also unused ... unless you know differently.

You can install Gentoo here if you want to.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Tony0945
Advocate
Advocate


Joined: 25 Jul 2006
Posts: 3078
Location: Illinois, USA

PostPosted: Thu Apr 07, 2016 7:58 pm    Post subject: Reply with quote

You have a lot of ramdisks and a loop pseudo-disk. To see if any are mounted, type "mount".

You have one physical hard disk. It is a sata disk so its name is /dev/sda, if it was an ide disk, its name would be /dev/hda.

The fdisk p command prints the partition table. You have an unpartitioned disk. If it had partitions, it would look more like this:
Code:

Disk /dev/sda: 372.6 GiB, 400088457216 bytes, 781422768 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xe42fe42f

Device     Boot   Start       End   Sectors   Size Id Type
/dev/sda1          2048   7814223   7812176   3.7G 83 Linux
/dev/sda2       7814224 781422767 773608544 368.9G 83 Linux


EDIT: In light of NeddySeagoon's comment, show us the results of "hdparm -i /dev/sda". the hdparm program may or may not be on your install medium.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43197
Location: 56N 3W

PostPosted: Thu Apr 07, 2016 8:10 pm    Post subject: Reply with quote

Tony0945,

The old IDE drivers went away before kernel 3.0. udev dropped support for /dev/hdX nodes about the same time.

What you say about /dev/hda is now the stuff of myths and legends.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Tony0945
Advocate
Advocate


Joined: 25 Jul 2006
Posts: 3078
Location: Illinois, USA

PostPosted: Thu Apr 07, 2016 10:08 pm    Post subject: Reply with quote

NeddySeagoon wrote:
Tony0945,

The old IDE drivers went away before kernel 3.0. udev dropped support for /dev/hdX nodes about the same time.

What you say about /dev/hda is now the stuff of myths and legends.
Code:
biostar ~ # mount|grep /dev/hda
/dev/hda3 on / type ext3 (rw,relatime,errors=continue,barrier=1,data=writeback)
/dev/hda1 on /boot type ext2 (rw)

biostar ~ # hdparm -i /dev/hda

/dev/hda:

 Model=WDC WD1200JB-00GVC0, FwRev=08.02D08, SerialNo=WD-WCAL94288707
 Config={ HardSect NotMFM HdSw>15uSec SpinMotCtl Fixed DTR>5Mbs FmtGapReq }
 RawCHS=16383/16/63, TrkSize=57600, SectSize=600, ECCbytes=74
 BuffType=DualPortCache, BuffSize=8192kB, MaxMultSect=16, MultSect=16
 CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=234441648
 IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
 PIO modes:  pio0 pio1 pio2 pio3 pio4
 DMA modes:  mdma0 mdma1 mdma2
 UDMA modes: udma0 udma1 udma2 udma3 udma4 *udma5
 AdvancedPM=no WriteCache=enabled
 Drive conforms to: Unspecified:  ATA/ATAPI-1,2,3,4,5,6

 * signifies the current active mode

biostar ~ # uname -a
Linux biostar 4.1.15-gentoo-r1-stripped-modules #1 SMP PREEMPT Sun Feb 21 20:22:13 CST 2016 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ AuthenticAMD GNU/Linux

Still there.

However, I do wonder about the 70G drive. I have seen 60 and 80, but not 70.
Back to top
View user's profile Send private message
B0sk0
n00b
n00b


Joined: 07 Apr 2016
Posts: 9

PostPosted: Thu Apr 07, 2016 10:12 pm    Post subject: Reply with quote

Tony0945 wrote:
NeddySeagoon wrote:
Tony0945,

The old IDE drivers went away before kernel 3.0. udev dropped support for /dev/hdX nodes about the same time.

What you say about /dev/hda is now the stuff of myths and legends.
Code:
biostar ~ # mount|grep /dev/hda
/dev/hda3 on / type ext3 (rw,relatime,errors=continue,barrier=1,data=writeback)
/dev/hda1 on /boot type ext2 (rw)

biostar ~ # hdparm -i /dev/hda

/dev/hda:

 Model=WDC WD1200JB-00GVC0, FwRev=08.02D08, SerialNo=WD-WCAL94288707
 Config={ HardSect NotMFM HdSw>15uSec SpinMotCtl Fixed DTR>5Mbs FmtGapReq }
 RawCHS=16383/16/63, TrkSize=57600, SectSize=600, ECCbytes=74
 BuffType=DualPortCache, BuffSize=8192kB, MaxMultSect=16, MultSect=16
 CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=234441648
 IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
 PIO modes:  pio0 pio1 pio2 pio3 pio4
 DMA modes:  mdma0 mdma1 mdma2
 UDMA modes: udma0 udma1 udma2 udma3 udma4 *udma5
 AdvancedPM=no WriteCache=enabled
 Drive conforms to: Unspecified:  ATA/ATAPI-1,2,3,4,5,6

 * signifies the current active mode

biostar ~ # uname -a
Linux biostar 4.1.15-gentoo-r1-stripped-modules #1 SMP PREEMPT Sun Feb 21 20:22:13 CST 2016 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ AuthenticAMD GNU/Linux

Still there.

However, I do wonder about the 70G drive. I have seen 60 and 80, but not 70.


Well I made the file system have 70GB
I'm doing this in a VM
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43197
Location: 56N 3W

PostPosted: Thu Apr 07, 2016 11:03 pm    Post subject: Reply with quote

B0sk0,

I thought it might be a VM.

The install into a VM is just the same as into real hardware. There are a few gotchas.
The VM will offer emulated hardware to the guest install. You must configure the guest for this emulated hardware, no the actual host hardware.

Some virtualisation solutions offer virtio drivers. These are faster than emulated hardware but require cooperation from (changes in) the guest to use.

Tony0945,

How do you get your /dev/hd* nodes?
I'm aware that the IDE drivers are still in the kernel.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6228
Location: Room 101

PostPosted: Thu Apr 07, 2016 11:41 pm    Post subject: Reply with quote

NeddySeagoon wrote:
How do you get your /dev/hd* nodes?

Neddy ... mdev ... because its a device manager, stupid ;)

egrep '^hd' /etc/mdev.conf:
hd[a-z].*  root:disk 660 */opt/mdev/helpers/storage-device

best ... khay
Back to top
View user's profile Send private message
Tony0945
Advocate
Advocate


Joined: 25 Jul 2006
Posts: 3078
Location: Illinois, USA

PostPosted: Thu Apr 07, 2016 11:48 pm    Post subject: Reply with quote

NeddySeagoon wrote:

Tony0945,

How do you get your /dev/hd* nodes?
I'm aware that the IDE drivers are still in the kernel.
/eudev-1.10-r2 , I presume.

Good guess, Khay, but this is the one box that is not running mdev.
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