Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to
LinuxQuestions.org , a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free.
Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please
contact us . If you need to reset your password,
click here .
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a
virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month.
Click here for more info.
03-23-2005, 02:22 PM
#1
Member
Registered: Jan 2004
Posts: 108
Rep:
Knoppix??
Ok i just downloaded and burnt knoppix 3.7 onto a cd and started it up. I want access to my hard drive and when i do:
It gives me the error
can't find /mnt/hda1 in etc/fstab or /etc/mtab
What is the problem?? Why cant i mount my hardrive to get access to my files?
The other problem is that i have a cable connection and when i start and run my box using Windows the interent and connections all work just fine. I am not using any type of proxy. When i use Knoppix, i cant connect to anything...I have looked in preferences to see how to change connection or whatnot but i cant find anything that will work. Any suggestions??
03-23-2005, 02:26 PM
#2
Member
Registered: May 2004
Distribution: Debian
Posts: 341
Rep:
I'm pretty sure that your hard drive is already mounted, at least it was for me when I used knoppix. And you probably have to set up your cable connection, unless you're on a wired network.
03-23-2005, 02:31 PM
#3
Member
Registered: Jan 2004
Posts: 108
Original Poster
Rep:
help
I go to /mnt/ and look for hd or hda or hda1 and i found hd, however, nothing is in it. Thats the only hardrive directory i found. And i want to be able to access my files on my hardrive. I just got the interent to work so that is no longer a problem. Any suggestions about the hardrive will be greatly appreciated.
Last edited by OtisLinux; 03-23-2005 at 03:00 PM .
03-23-2005, 03:24 PM
#4
Senior Member
Registered: Dec 2004
Location: Helsinki
Distribution: Debian Sid
Posts: 1,107
Rep:
IF it's a SATA disk try booting with knoppix26
Also post the output of the following commands:
sudo fdisk -l
cat /etc/fstab
ls -l /mnt
03-23-2005, 03:58 PM
#5
Member
Registered: Jan 2004
Posts: 108
Original Poster
Rep:
ok
ok when i do
sudo fdisk -l nothing happens, just goes to next command line
when i do
cat /etc/fstab
i get this :
Code:
/proc /proc proc defaults 0 0
/sys /sys sysfs noauto 0 0
/dev/pts /dev/pts devpts mode=0622 0 0
/dev/fd0 /mnt/auto/floppy auto user,noauto,exec,umask=000 0 0
/dev/cdrom /mnt/auto/cdrom auto user,noauto,exec,ro 0 0
/dev/cdrom1 /mnt/auto/cdrom1 auto users,noauto,exec,ro 0 0
# Added by KNOPPIX
noauto,users,exec 0 0
and when i do ls -l /mnt i get:
Code:
total 2
drwxr-xr-x 3 root root 0 Mar 23 16:41 auto
lrwxrwxrwx 1 root root 15 Mar 23 16:31 cdrom -> /mnt/auto/cdrom
lrwxrwxrwx 1 root root 16 Mar 23 16:31 cdrom1 -> /mnt/auto/cdrom1
lrwxrwxrwx 1 root root 16 Mar 23 16:31 floppy -> /mnt/auto/floppy
drwxr-xr-x 2 root root 1024 Mar 23 11:30 hd
drwxr-xr-x 2 root root 1024 Mar 23 11:30 test
03-23-2005, 04:05 PM
#6
LQ Newbie
Registered: Mar 2004
Distribution: debian sarge, 2.6.6, and ALSA finally works!!
Posts: 18
Rep:
When I used knoppix it automatically created desktop icons to the hard drives. See if any of them work fresh from boot-up.
If you have already tried this and it has failed, then I apologise.
03-23-2005, 04:38 PM
#7
Member
Registered: Jan 2004
Posts: 108
Original Poster
Rep:
The hard drive isnt on the desktop. CD-ROM and floppy are on there, but not the hard drive.
03-23-2005, 04:48 PM
#8
Member
Registered: Jan 2005
Location: Boston
Distribution: slackware
Posts: 502
Rep:
As suggested earlier, you could try to boot using the knoppix 2.6 kernel. It sounds like an incorrect module is being used by the 2.4 kernel for your harddisk.
03-23-2005, 05:00 PM
#9
Member
Registered: Jan 2004
Posts: 108
Original Poster
Rep:
i just booted knoppix26 and the same problem is still there. no hardrive on desktop, and /mnt/hd is still empty.
03-23-2005, 05:03 PM
#10
Member
Registered: Mar 2005
Location: somewhere over the rainbow theres a place....
Distribution: Ubuntu Dapper and Arch
Posts: 121
Rep:
try
Code:
mount /dev/hda /mnt/hd
or
Code:
mount /dev/hda1 /mnt/hd
hope it works for you all.
Note (thanks KC):
You have to be root to mount.
Last edited by calcon; 03-23-2005 at 05:50 PM .
03-23-2005, 05:35 PM
#11
Senior Member
Registered: Mar 2005
Location: Las Vegas, NV
Distribution: Mandriva Slackware FreeBSD
Posts: 1,468
Rep:
Quote:
Originally posted by calcon
try
Code:
mount /dev/hda /mnt/hd
or
Code:
mount /dev/hda1 /mnt/hd
hope it works for you all.
Sounds good , but should note that you have to be in root to mount.
For VFAT file system:
sudo mount /dev/hda1 /mnt/hd
For NTFS
sudo mount -t ntfs /dev/hda1 /mnt/hd
KC
03-24-2005, 08:41 AM
#12
Senior Member
Registered: Dec 2004
Location: Helsinki
Distribution: Debian Sid
Posts: 1,107
Rep:
Not very promising if fdisk gives no output. What kind of hd is it? make & model?
Can you see anything related with: dmesg | less
EDIT: If you have the hd jumpered to cable-select try jumpering to master
Last edited by makuyl; 03-24-2005 at 08:43 AM .
03-24-2005, 01:01 PM
#13
Member
Registered: Jan 2004
Posts: 108
Original Poster
Rep:
here
ok when i do
Code:
mount /dev/hda or hda1 /mnt/hd
or
Code:
sudo mount -t ntfs /dev/hda1 /mnt/hd
i get the error:
/dev/hda or hda1 is not a valid block device.
This is what i get for dmesg:
Code:
ACPI: PCI Interrupt Link [APC3] (IRQs *18), disabled.
ACPI: PCI Interrupt Link [APC4] (IRQs *19), disabled.
ACPI: PCI Interrupt Link [APC5] (IRQs *16), disabled.
ACPI: PCI Interrupt Link [APCF] (IRQs 20 21 22) *0, disabled.
ACPI: PCI Interrupt Link [APCG] (IRQs 20 21 22) *0, disabled.
ACPI: PCI Interrupt Link [APCH] (IRQs 20 21 22) *0, disabled.
ACPI: PCI Interrupt Link [APCI] (IRQs 20 21 22) *0, disabled.
ACPI: PCI Interrupt Link [APCJ] (IRQs 20 21 22) *0, disabled.
ACPI: PCI Interrupt Link [APCK] (IRQs 20 21 22) *0, disabled.
ACPI: PCI Interrupt Link [APCS] (IRQs *23), disabled.
ACPI: PCI Interrupt Link [APCL] (IRQs 20 21 22) *0, disabled.
ACPI: PCI Interrupt Link [APCM] (IRQs 20 21 22) *0, disabled.
ACPI: PCI Interrupt Link [AP3C] (IRQs 20 21 22) *0, disabled.
ACPI: PCI Interrupt Link [APCZ] (IRQs 20 21 22) *0, disabled.
PCI: Probing PCI hardware
ACPI: PCI Interrupt Link [APCS] enabled at IRQ 23
00:00:01[A] -> 2-23 -> IRQ 23 level high
ACPI: PCI Interrupt Link [APCF] enabled at IRQ 22
00:00:02[A] -> 2-22 -> IRQ 22 level high
ACPI: PCI Interrupt Link [APCG] enabled at IRQ 21
00:00:02[B] -> 2-21 -> IRQ 21 level high
ACPI: PCI Interrupt Link [APCL] enabled at IRQ 20
00:00:02[C] -> 2-20 -> IRQ 20 level high
ACPI: PCI Interrupt Link [APCH] enabled at IRQ 22
ACPI: PCI Interrupt Link [APCI] enabled at IRQ 21
ACPI: PCI Interrupt Link [APCJ] enabled at IRQ 20
ACPI: PCI Interrupt Link [APCK] enabled at IRQ 22
ACPI: PCI Interrupt Link [APCM] enabled at IRQ 21
ACPI: PCI Interrupt Link [APCZ] enabled at IRQ 20
ACPI: PCI Interrupt Link [APC3] enabled at IRQ 18
00:01:06[A] -> 2-18 -> IRQ 18 level high
ACPI: PCI Interrupt Link [APC4] enabled at IRQ 19
00:01:06[B] -> 2-19 -> IRQ 19 level high
ACPI: PCI Interrupt Link [APC1] enabled at IRQ 16
00:01:06[C] -> 2-16 -> IRQ 16 level high
ACPI: PCI Interrupt Link [APC2] enabled at IRQ 17
00:01:06[D] -> 2-17 -> IRQ 17 level high
number of MP IRQ sources: 15.
number of IO-APIC #2 registers: 24.
testing the IO APIC.......................
IO APIC #2......
.... register #00: 02000000
....... : physical APIC id: 02
....... : Delivery Type: 0
....... : LTS : 0
.... register #01: 00170011
....... : max redirection entries: 0017
....... : PRQ implemented: 0
....... : IO APIC version: 0011
.... register #02: 00000000
....... : arbitration: 00
.... IRQ redirection table:
NR Log Phy Mask Trig IRR Pol Stat Dest Deli Vect:
00 000 00 1 0 0 0 0 0 0 00
01 001 01 0 0 0 0 0 1 1 39
02 000 00 1 0 0 0 0 0 0 00
03 001 01 0 0 0 0 0 1 1 41
04 001 01 0 0 0 0 0 1 1 49
05 001 01 0 0 0 0 0 1 1 51
06 001 01 0 0 0 0 0 1 1 59
07 001 01 1 0 0 0 0 1 1 61
08 001 01 0 0 0 0 0 1 1 69
09 001 01 0 1 0 0 0 1 1 71
0a 001 01 0 0 0 0 0 1 1 79
0b 001 01 0 0 0 0 0 1 1 81
0c 001 01 0 0 0 0 0 1 1 89
0d 001 01 0 0 0 0 0 1 1 91
0e 001 01 0 0 0 0 0 1 1 99
0f 001 01 0 0 0 0 0 1 1 A1
10 001 01 1 1 0 0 0 1 1 D9
11 001 01 1 1 0 0 0 1 1 E1
12 001 01 1 1 0 0 0 1 1 C9
13 001 01 1 1 0 0 0 1 1 D1
14 001 01 1 1 0 0 0 1 1 C1
15 001 01 1 1 0 0 0 1 1 B9
16 001 01 1 1 0 0 0 1 1 B1
17 001 01 1 1 0 0 0 1 1 A9
IRQ to pin mappings:
IRQ0 -> 0:2
IRQ1 -> 0:1
IRQ3 -> 0:3
IRQ4 -> 0:4
IRQ5 -> 0:5
IRQ6 -> 0:6
IRQ7 -> 0:7
IRQ8 -> 0:8
IRQ9 -> 0:9
IRQ10 -> 0:10
IRQ11 -> 0:11
IRQ12 -> 0:12
IRQ13 -> 0:13
IRQ14 -> 0:14
IRQ15 -> 0:15
IRQ16 -> 0:16
IRQ17 -> 0:17
IRQ18 -> 0:18
IRQ19 -> 0:19
IRQ20 -> 0:20
IRQ21 -> 0:21
IRQ22 -> 0:22
IRQ23 -> 0:23
.................................... done.
PCI: Using ACPI for IRQ routing
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
VFS: Disk quotas vdquot_6.5.1
vesafb: framebuffer at 0xd0000000, mapped to 0xe0815000, size 3072k
vesafb: mode is 1024x768x16, linelength=2048, pages=1
vesafb: protected mode interface info at c000:dfe0
vesafb: scrolling: redraw
vesafb: directcolor: size=0:5:6:5, shift=0:11:5:0
Console: switching to colour frame buffer device 128x48
fb0: VESA VGA frame buffer device
pty: 256 Unix98 ptys configured
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
RAMDISK driver initialized: 16 RAM disks of 100000K size 1024 blocksize
Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
NFORCE2: IDE controller at PCI slot 00:09.0
NFORCE2: chipset revision 162
NFORCE2: not 100% native mode: will probe irqs later
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
NFORCE2: 00:09.0 (rev a2) UDMA133 controller
ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:DMA, hdb:DMA
ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc:DMA, hdd:DMA
hdc: 56X CD-ROM, ATAPI CD/DVD-ROM drive
hdd: LITE-ON LTR-52327S, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
ide: late registration of driver.
SCSI subsystem driver Revision: 1.00
libata version 1.02 loaded.
sata_sil version 0.54
ata1: SATA max UDMA/100 cmd 0xE0B16080 ctl 0xE0B1608A bmdma 0xE0B16000 irq 18
ata2: SATA max UDMA/100 cmd 0xE0B160C0 ctl 0xE0B160CA bmdma 0xE0B16008 irq 18
ata1: no device found (phy stat 00000000)
ata2: no device found (phy stat 00000000)
scsi0 : sata_sil
scsi1 : sata_sil
Initializing Cryptographic API
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 4096 buckets, 32Kbytes
TCP: Hash tables configured (established 32768 bind 32768)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
RAMDISK: Compressed image found at block 0
Freeing initrd memory: 784k freed
VFS: Mounted root (ext2 filesystem).
hdc: attached ide-scsi driver.
hdd: attached ide-scsi driver.
scsi2 : SCSI host adapter emulation for IDE ATAPI devices
Vendor: Model: 56X CD-ROM Rev: 1.00
Type: CD-ROM ANSI SCSI revision: 02
Vendor: LITE-ON Model: LTR-52327S Rev: QS09
Type: CD-ROM ANSI SCSI revision: 02
Attached scsi CD-ROM sr0 at scsi2, channel 0, id 0, lun 0
Attached scsi CD-ROM sr1 at scsi2, channel 0, id 1, lun 0
sr0: scsi3-mmc drive: 58x/58x cd/rw xa/form2 cdda tray
Uniform CD-ROM driver Revision: 3.12
sr1: scsi3-mmc drive: 32x/40x writer cd/rw xa/form2 cdda tray
NCR53c406a: no available ports found
aec671x_detect:
scsi: <fdomain> Detection failed (no card)
GDT: Storage RAID Controller Driver. Version: 2.05
GDT: Found 0 PCI Storage RAID Controllers
megaraid: v1.18k (Release Date: Thu Aug 28 10:05:11 EDT 2003)
megaraid: no BIOS enabled.
DC390: 0 adapters found
Failed initialization of WD-7000 SCSI card!
driver for Silicon Image(tm) Medley(tm) hardware version 0.0.1: No raid array found
Medley RAID: No usable RAID sets found
Promise Fasttrak(tm) Softwareraid driver 0.03beta: No raid array found
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb-uhci.c: $Revision: 1.275 $ time 00:50:50 Aug 9 2004
usb-uhci.c: High bandwidth mode enabled
usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
PCI: Setting latency timer of device 00:02.0 to 64
usb-ohci.c: USB OHCI at membase 0xe0b37000, IRQ 22
usb-ohci.c: usb-00:02.0, nVidia Corporation nForce2 USB Controller
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 3 ports detected
PCI: Setting latency timer of device 00:02.1 to 64
usb-ohci.c: USB OHCI at membase 0xe0b39000, IRQ 21
usb-ohci.c: usb-00:02.1, nVidia Corporation nForce2 USB Controller (#2)
usb.c: new USB bus registered, assigned bus number 2
hub.c: USB hub found
hub.c: 3 ports detected
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
USB Mass Storage support registered.
ohci1394: $Rev: 1045 $ Ben Collins <bcollins@debian.org>
ohci1394_0: OHCI-1394 1.1 (PCI): IRQ=[16] MMIO=[df005000-df0057ff] Max Packet=[2048]
sbp2: $Rev: 1074 $ Ben Collins <bcollins@debian.org>
ieee1394: sbp2: Driver forced to serialize I/O (serialize_io = 1)
ieee1394: Host added: ID:BUS[0-00:1023] GUID[000d61000037af8f]
hub.c: new USB device 00:02.0-1, assigned address 2
usb.c: USB device 2 (vend/prod 0x45e/0x39) is not claimed by any active driver.
hub.c: new USB device 00:02.0-2, assigned address 3
usb.c: USB device 3 (vend/prod 0x3f0/0x3004) is not claimed by any active driver.
cdrom: open failed.
cdrom: open failed.
cdrom: open failed.
ISO 9660 Extensions: Microsoft Joliet Level 3
ISO 9660 Extensions: RRIP_1991A
cloop: Initializing cloop v2.01
cloop: loaded (max 8 devices)
cloop: /cdrom/KNOPPIX/KNOPPIX: 30428 blocks, 65536 bytes/block, largest block is 65552 bytes.
ISO 9660 Extensions: RRIP_1991A
Freeing unused kernel memory: 144k freed
Real Time Clock Driver v1.10f
ACPI: Power Button (FF) [PWRF]
ACPI: Processor [CPU0] (supports C1)
Linux Kernel Card Services 3.1.22
options: [pci] [cardbus] [pm]
Intel ISA PCIC probe: not found.
Databook TCIC-2 PCMCIA probe: not found.
usb-uhci.c: $Revision: 1.275 $ time 00:50:50 Aug 9 2004
usb-uhci.c: High bandwidth mode enabled
usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
usbdevfs: remount parameter error
usb.c: registered new driver hiddev
usb.c: registered new driver hid
input: USB HID v1.00 Mouse [Microsoft Microsoft IntelliMouse® Optical] on usb1:2.0
hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik <vojtech@suse.cz>
hid-core.c: USB HID support drivers
mice: PS/2 mouse device common for all mice
usb.c: registered new driver usblp
printer.c: usblp0: USB Bidirectional printer dev 3 if 0 alt 0 proto 2 vid 0x03F0 pid 0x3004
printer.c: v0.13: USB Printer Device Class driver
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI ISAPNP enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE]
parport0: irq 7 detected
r8169 Gigabit Ethernet driver 1.2 loaded
eth0: Identified chip type is 'RTL8169s/8110s'.
eth0: RTL8169 at 0xe0c3d000, 00:0d:61:44:73:79, IRQ 16
eth0: Auto-negotiation Enabled.
eth0: 10Mbps Half-duplex operation.
Intel 810 + AC97 Audio, version 1.01, 00:49:25 Aug 9 2004
PCI: Setting latency timer of device 00:06.0 to 64
i810: NVIDIA nForce Audio found at IO 0xd800 and 0xd400, MEM 0x0000 and 0x0000, IRQ 20
i810_audio: Audio Controller supports 6 channels.
i810_audio: Defaulting to base 2 channel mode.
i810_audio: Resetting connection 0
ac97_codec: AC97 codec, id: ALG96 (Unknown)
i810_audio: only 48Khz playback available.
i810_audio: AC'97 codec 0 Unable to map surround DAC's (or DAC's not present), total channels = 2
Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 439M
agpgart: Detected NVIDIA nForce2 chipset
agpgart: AGP aperture is 64M @ 0xd8000000
NTFS driver v1.1.22 [Flags: R/W MODULE]
I hope some of this information can help.
03-24-2005, 01:51 PM
#14
Senior Member
Registered: Dec 2004
Location: Helsinki
Distribution: Debian Sid
Posts: 1,107
Rep:
Quote:
Originally posted by OtisLinux
Code:
PCI: Using ACPI for IRQ routing
ata1: SATA max UDMA/100 cmd 0xE0B16080 ctl 0xE0B1608A bmdma 0xE0B16000 irq 18
ata2: SATA max UDMA/100 cmd 0xE0B160C0 ctl 0xE0B160CA bmdma 0xE0B16008 irq 18
ata1: no device found (phy stat 00000000)
ata2: no device found (phy stat 00000000)
Ok, looks like a SATA disk and controller to me, and as I don't use one myself I hope someone with experience with these picks up on this thread.
Try one of the following boot codes:
knoppix26 acpi=off
knoppix26 noapic
knoppix acpi=off
knoppix noapic
You could also try to set the SATA drives option in BIOS to combination mode.
03-24-2005, 03:26 PM
#15
Member
Registered: Jan 2004
Posts: 108
Original Poster
Rep:
i tried all four of those and nothing changed.
All times are GMT -5. The time now is 10:35 PM .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know .
Latest Threads
LQ News