All pastes #498393 Raw Edit

Mine

public text v1 · immutable
·published 2007-05-20 11:36 UTC
rendered paste body
## here is a paste of my partition tables for all my disks.
## after that I try to mount a partition on hdb
###first /dev/hda:



root@ubuntu:/home/ubuntu# fdisk /dev/hda

The number of cylinders for this disk is set to 4865.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)
Warning: ignoring extra data in partition table 5
Warning: ignoring extra data in partition table 5
Warning: ignoring extra data in partition table 5
Warning: invalid flag 0x1616 of partition table 5 will be corrected by w(rite)

Command (m for help): p

Disk /dev/hda: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1               1        2432    19534880+  83  Linux
/dev/hda2            2432        4865    19543072+   5  Extended
/dev/hda5   ?       25502       46417   168002307+  36  Unknown

Command (m for help): q

root@ubuntu:/home/ubuntu# 



## now /dev/hdb


root@ubuntu:/home/ubuntu# fdisk /dev/hdb

The number of cylinders for this disk is set to 2491.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)

Command (m for help): p

Disk /dev/hdb: 20.4 GB, 20491075584 bytes
255 heads, 63 sectors/track, 2491 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hdb1   *           1        2491    20008798   83  Linux

Command (m for help): q

root@ubuntu:/home/ubuntu# 



##now hdc


root@ubuntu:/home/ubuntu# fdisk /dev/hdc

The number of cylinders for this disk is set to 2501.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)

Command (m for help): p

Disk /dev/hdc: 20.5 GB, 20576747520 bytes
255 heads, 63 sectors/track, 2501 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hdc1   *           1        2392    19213708+  83  Linux
/dev/hdc2            2393        2501      875542+   5  Extended
/dev/hdc5            2393        2501      875511   82  Linux swap / Solaris

Command (m for help): q   

root@ubuntu:/home/ubuntu# 




##HDD is DVD-rom.












## now I will mount a partition on hdb


root@ubuntu:/home/ubuntu# mkdir /mnt/hdbmount
root@ubuntu:/home/ubuntu# mount /dev/hdb1 /mnt/hdbmount/
mount: you must specify the filesystem type
root@ubuntu:/home/ubuntu# 


## now one on hdc


root@ubuntu:/home/ubuntu# mkdir /mnt/hdcmount
root@ubuntu:/home/ubuntu# mount /dev/hdc2 /mnt/hdcmount/
mount: you must specify the filesystem type
root@ubuntu:/home/ubuntu# 



##all of these could be normally mounted before!