Skip to main content

Thread: Is it possible to tell how many hard drive slots I have from the command line?


i'm on hp pavilion dv7-1240us laptop, , i'm trying figure out if has second hard drive slot because if want put solid state drive in os, , leave /home , stuff on normal hard drive. 1260us model apparently has 2 hard drives according 1 of reviews.

results of lshw
code:
bibo@bibos-computer:~$ lshw  warning: should run program super-user.  bibos-computer                  description: computer      width: 64 bits      capabilities: vsyscall64 vsyscall32    *-core         description: motherboard         physical id: 0       *-memory            description: system memory            physical id: 0            size: 3708mib       *-cpu            product: amd turion(tm) x2 dual-core mobile rm-72            vendor: advanced micro devices [amd]            physical id: 1            bus info: cpu@0            size: 2100mhz            capacity: 2100mhz            width: 64 bits            capabilities: fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt rdtscp x86-64 3dnowext 3dnow constant_tsc rep_good nonstop_tsc extd_apicid pni cx16 lahf_lm cmp_legacy svm extapic cr8_legacy 3dnowprefetch osvw skinit lbrv svm_lock nrip_save cpufreq       *-pci:0            description: host bridge            product: rs780 host bridge            vendor: advanced micro devices [amd]            physical id: 100            bus info: pci@0000:00:00.0            version: 00            width: 32 bits            clock: 66mhz          *-pci:0               description: pci bridge               product: hewlett-packard company               vendor: hewlett-packard company               physical id: 1               bus info: pci@0000:00:01.0               version: 00               width: 32 bits               clock: 66mhz               capabilities: pci normal_decode bus_master cap_list               resources: ioport:7000(size=4096) memory:d2300000-d24fffff ioport:c0000000(size=268435456)             *-display                  description: vga compatible controller                  product: rs780m/rs780mn [radeon hd 3200 graphics]                  vendor: ati technologies inc                  physical id: 5                  bus info: pci@0000:01:05.0                  version: 00                  width: 32 bits                  clock: 33mhz                  capabilities: vga_controller bus_master cap_list rom                  configuration: driver=fglrx_pci latency=0                  resources: irq:46 memory:c0000000-cfffffff ioport:7000(size=256) memory:d2400000-d240ffff memory:d2300000-d23fffff             *-multimedia                  description: audio device                  product: rs780 azalia controller                  vendor: ati technologies inc                  physical id: 5.1                  bus info: pci@0000:01:05.1                  version: 00                  width: 32 bits                  clock: 33mhz                  capabilities: bus_master cap_list                  configuration: driver=hda intel latency=0                  resources: irq:45 memory:d2410000-d2413fff          *-pci:1               description: pci bridge               product: rs780 pci pci bridge (pcie port 0)               vendor: advanced micro devices [amd]               physical id: 4               bus info: pci@0000:00:04.0               version: 00               width: 32 bits               clock: 33mhz               capabilities: pci normal_decode bus_master cap_list               configuration: driver=pcieport               resources: irq:40 ioport:3000(size=16384) memory:d1300000-d22fffff ioport:d0000000(size=16777216)          *-pci:2               description: pci bridge               product: rs780 pci pci bridge (pcie port 1)               vendor: advanced micro devices [amd]               physical id: 5               bus info: pci@0000:00:05.0               version: 00               width: 32 bits               clock: 33mhz               capabilities: pci normal_decode bus_master cap_list               configuration: driver=pcieport               resources: irq:41 memory:d1200000-d12fffff ioport:d2600000(size=1048576)             *-generic:0                  description: system peripheral                  product: sd/mmc host controller                  vendor: jmicron technology corp.                  physical id: 0                  bus info: pci@0000:08:00.0                  version: 00                  width: 32 bits                  clock: 33mhz                  capabilities: bus_master cap_list rom                  configuration: driver=sdhci-pci latency=0                  resources: irq:17 memory:d1200300-d12003ff memory:d2600000-d260ffff             *-generic:1 unclaimed                  description: sd host controller                  product: standard sd host controller                  vendor: jmicron technology corp.                  physical id: 0.2                  bus info: pci@0000:08:00.2                  version: 00                  width: 32 bits                  clock: 33mhz                  capabilities: cap_list                  configuration: latency=0                  resources: memory:d1200200-d12002ff             *-generic:2                  description: system peripheral                  product: ms host controller                  vendor: jmicron technology corp.                  physical id: 0.3                  bus info: pci@0000:08:00.3                  version: 00                  width: 32 bits                  clock: 33mhz                  capabilities: bus_master cap_list                  configuration: driver=jmb38x_ms latency=0                  resources: irq:17 memory:d1200100-d12001ff             *-generic:3 unclaimed                  description: system peripheral                  product: xd host controller                  vendor: jmicron technology corp.                  physical id: 0.4                  bus info: pci@0000:08:00.4                  version: 00                  width: 32 bits                  clock: 33mhz                  capabilities: bus_master cap_list                  configuration: latency=0                  resources: memory:d1200000-d12000ff          *-pci:3               description: pci bridge               product: rs780 pci pci bridge (pcie port 2)               vendor: advanced micro devices [amd]               physical id: 6               bus info: pci@0000:00:06.0               version: 00               width: 32 bits               clock: 33mhz               capabilities: pci normal_decode bus_master cap_list               configuration: driver=pcieport               resources: irq:42 memory:d1100000-d11fffff             *-network disabled                  description: wireless interface                  product: ar928x wireless network adapter (pci-express)                  vendor: atheros communications inc.                  physical id: 0                  bus info: pci@0000:09:00.0                  logical name: wlan0                  version: 01                  serial: 00:24:2b:e2:6b:20                  width: 64 bits                  clock: 33mhz                  capabilities: bus_master cap_list ethernet physical wireless                  configuration: broadcast=yes driver=ath9k driverversion=2.6.35-28-generic firmware=n/a latency=0 multicast=yes wireless=ieee 802.11abgn                  resources: irq:18 memory:d1100000-d110ffff          *-pci:4               description: pci bridge               product: rs780 pci pci bridge (pcie port 3)               vendor: advanced micro devices [amd]               physical id: 7               bus info: pci@0000:00:07.0               version: 00               width: 32 bits               clock: 33mhz               capabilities: pci normal_decode bus_master cap_list               configuration: driver=pcieport               resources: irq:43 ioport:2000(size=4096) memory:d2700000-d27fffff ioport:d1000000(size=1048576)             *-network                  description: ethernet interface                  product: rtl8101e/rtl8102e pci express fast ethernet controller                  vendor: realtek semiconductor co., ltd.                  physical id: 0                  bus info: pci@0000:0a:00.0                  logical name: eth0                  version: 02                  serial: 00:23:5a:38:92:e1                  width: 64 bits                  clock: 33mhz                  capabilities: bus_master cap_list rom ethernet physical                  configuration: broadcast=yes driver=r8169 driverversion=2.3lk-napi ip=192.168.0.8 latency=0 multicast=yes                  resources: irq:44 ioport:2000(size=256) memory:d1010000-d1010fff memory:d1000000-d100ffff memory:d1020000-d103ffff          *-storage               description: sata controller               product: sb700/sb800 sata controller [ahci mode]               vendor: ati technologies inc               physical id: 11               bus info: pci@0000:00:11.0               version: 00               width: 32 bits               clock: 66mhz               capabilities: storage ahci_1.0 bus_master cap_list               configuration: driver=ahci latency=64               resources: irq:22 ioport:8038(size=8) ioport:804c(size=4) ioport:8030(size=8) ioport:8048(size=4) ioport:8010(size=16) memory:d2508000-d25083ff          *-usb:0               description: usb controller               product: sb700/sb800 usb ohci0 controller               vendor: ati technologies inc               physical id: 12               bus info: pci@0000:00:12.0               version: 00               width: 32 bits               clock: 66mhz               capabilities: ohci bus_master               configuration: driver=ohci_hcd latency=64               resources: irq:16 memory:d2507000-d2507fff          *-usb:1               description: usb controller               product: sb700 usb ohci1 controller               vendor: ati technologies inc               physical id: 12.1               bus info: pci@0000:00:12.1               version: 00               width: 32 bits               clock: 66mhz               capabilities: ohci bus_master               configuration: driver=ohci_hcd latency=64               resources: irq:16 memory:d2506000-d2506fff          *-usb:2               description: usb controller               product: sb700/sb800 usb ehci controller               vendor: ati technologies inc               physical id: 12.2               bus info: pci@0000:00:12.2               version: 00               width: 32 bits               clock: 66mhz               capabilities: ehci bus_master cap_list               configuration: driver=ehci_hcd latency=64               resources: irq:17 memory:d2508500-d25085ff          *-usb:3               description: usb controller               product: sb700/sb800 usb ohci0 controller               vendor: ati technologies inc               physical id: 13               bus info: pci@0000:00:13.0               version: 00               width: 32 bits               clock: 66mhz               capabilities: ohci bus_master               configuration: driver=ohci_hcd latency=64               resources: irq:18 memory:d2505000-d2505fff          *-usb:4               description: usb controller               product: sb700 usb ohci1 controller               vendor: ati technologies inc               physical id: 13.1               bus info: pci@0000:00:13.1               version: 00               width: 32 bits               clock: 66mhz               capabilities: ohci bus_master               configuration: driver=ohci_hcd latency=64               resources: irq:18 memory:d2504000-d2504fff          *-usb:5               description: usb controller               product: sb700/sb800 usb ehci controller               vendor: ati technologies inc               physical id: 13.2               bus info: pci@0000:00:13.2               version: 00               width: 32 bits               clock: 66mhz               capabilities: ehci bus_master cap_list               configuration: driver=ehci_hcd latency=64               resources: irq:19 memory:d2508400-d25084ff          *-serial               description: smbus               product: sbx00 smbus controller               vendor: ati technologies inc               physical id: 14               bus info: pci@0000:00:14.0               version: 3a               width: 32 bits               clock: 66mhz               capabilities: cap_list               configuration: driver=piix4_smbus latency=0               resources: irq:0          *-ide               description: ide interface               product: sb700/sb800 ide controller               vendor: ati technologies inc               physical id: 14.1               bus info: pci@0000:00:14.1               version: 00               width: 32 bits               clock: 66mhz               capabilities: ide bus_master cap_list               configuration: driver=pata_atiixp latency=64               resources: irq:16 ioport:1f0(size=8) ioport:3f6 ioport:170(size=8) ioport:376 ioport:8000(size=16)          *-multimedia               description: audio device               product: sbx00 azalia (intel hda)               vendor: ati technologies inc               physical id: 14.2               bus info: pci@0000:00:14.2               version: 00               width: 64 bits               clock: 33mhz               capabilities: bus_master cap_list               configuration: driver=hda intel latency=64               resources: irq:16 memory:d2500000-d2503fff          *-isa               description: isa bridge               product: sb700/sb800 lpc host controller               vendor: ati technologies inc               physical id: 14.3               bus info: pci@0000:00:14.3               version: 00               width: 32 bits               clock: 66mhz               capabilities: isa bus_master               configuration: latency=0          *-pci:5               description: pci bridge               product: sbx00 pci pci bridge               vendor: ati technologies inc               physical id: 14.4               bus info: pci@0000:00:14.4               version: 00               width: 32 bits               clock: 66mhz               capabilities: pci subtractive_decode bus_master               resources: ioport:1000(size=4096)       *-pci:1            description: host bridge            product: family 11h processor hypertransport configuration            vendor: advanced micro devices [amd]            physical id: 101            bus info: pci@0000:00:18.0            version: 40            width: 32 bits            clock: 33mhz       *-pci:2            description: host bridge            product: family 11h processor address map            vendor: advanced micro devices [amd]            physical id: 102            bus info: pci@0000:00:18.1            version: 00            width: 32 bits            clock: 33mhz       *-pci:3            description: host bridge            product: family 11h processor dram controller            vendor: advanced micro devices [amd]            physical id: 103            bus info: pci@0000:00:18.2            version: 00            width: 32 bits            clock: 33mhz       *-pci:4            description: host bridge            product: family 11h processor miscellaneous control            vendor: advanced micro devices [amd]            physical id: 104            bus info: pci@0000:00:18.3            version: 00            width: 32 bits            clock: 33mhz            configuration: driver=k10temp            resources: irq:0       *-pci:5            description: host bridge            product: family 11h processor link control            vendor: advanced micro devices [amd]            physical id: 105            bus info: pci@0000:00:18.4            version: 00            width: 32 bits            clock: 33mhz    *-network disabled         description: ethernet interface         physical id: 1         logical name: vboxnet0         serial: 0a:00:27:00:00:00         capabilities: ethernet physical         configuration: broadcast=yes multicast=yes
and lspci

code:
  bibo@bibos-computer:~$ lspci  00:00.0 host bridge: advanced micro devices [amd] rs780 host bridge  00:01.0 pci bridge: hewlett-packard company device 9602  00:04.0 pci bridge: advanced micro devices [amd] rs780 pci pci bridge (pcie port 0)  00:05.0 pci bridge: advanced micro devices [amd] rs780 pci pci bridge (pcie port 1)  00:06.0 pci bridge: advanced micro devices [amd] rs780 pci pci bridge (pcie port 2)  00:07.0 pci bridge: advanced micro devices [amd] rs780 pci pci bridge (pcie port 3)  00:11.0 sata controller: ati technologies inc sb700/sb800 sata controller [ahci mode]  00:12.0 usb controller: ati technologies inc sb700/sb800 usb ohci0 controller  00:12.1 usb controller: ati technologies inc sb700 usb ohci1 controller  00:12.2 usb controller: ati technologies inc sb700/sb800 usb ehci controller  00:13.0 usb controller: ati technologies inc sb700/sb800 usb ohci0 controller  00:13.1 usb controller: ati technologies inc sb700 usb ohci1 controller  00:13.2 usb controller: ati technologies inc sb700/sb800 usb ehci controller  00:14.0 smbus: ati technologies inc sbx00 smbus controller (rev 3a)  00:14.1 ide interface: ati technologies inc sb700/sb800 ide controller  00:14.2 audio device: ati technologies inc sbx00 azalia (intel hda)  00:14.3 isa bridge: ati technologies inc sb700/sb800 lpc host controller  00:14.4 pci bridge: ati technologies inc sbx00 pci pci bridge  00:18.0 host bridge: advanced micro devices [amd] family 11h processor hypertransport configuration (rev 40)  00:18.1 host bridge: advanced micro devices [amd] family 11h processor address map  00:18.2 host bridge: advanced micro devices [amd] family 11h processor dram controller  00:18.3 host bridge: advanced micro devices [amd] family 11h processor miscellaneous control  00:18.4 host bridge: advanced micro devices [amd] family 11h processor link control  01:05.0 vga compatible controller: ati technologies inc rs780m/rs780mn [radeon hd 3200 graphics]  01:05.1 audio device: ati technologies inc rs780 azalia controller  08:00.0 system peripheral: jmicron technology corp. sd/mmc host controller  08:00.2 sd host controller: jmicron technology corp. standard sd host controller  08:00.3 system peripheral: jmicron technology corp. ms host controller  08:00.4 system peripheral: jmicron technology corp. xd host controller  09:00.0 network controller: atheros communications inc. ar928x wireless network adapter (pci-express) (rev 01)  0a:00.0 ethernet controller: realtek semiconductor co., ltd. rtl8101e/rtl8102e pci express fast ethernet controller (rev 02)

just open case , look. of course more void warranty.


Forum The Ubuntu Forum Community Ubuntu Official Flavours Support New to Ubuntu [all variants] Is it possible to tell how many hard drive slots I have from the command line?


Ubuntu

Comments