PDA

View Full Version : HDD/Video problems



gsanvic
04-30-2004, 05:17 PM
hi all,

Knewbie here. :)

anyway, after successfully burning the 3.3-en ISO on a cd, i gave knoppix live a run, and while i'm impressed, i still want to explore before installing on my HDD.

i'm having trouble with:

1) video. my knoppix screen has this 2-inch border all around it, the same behavior it shows when i use 800x600 under windows. however, at boot-up (with the penguin on the top left corner), the display is at 1024x768. i've tried using "knoppix fb1024x768 screen=1024x768 vert=60" already, but all it did was let the computer recognize the 1024x768 mode, but it still uses 800x600.

2) hard disk. i'm having trouble with the HDD. it doesn't seem to be mounted at all. when i used "knoppix dma" (with all the options above), the HDD was detected, and given "DMA acceleration", but still i couldn't mount it. the error message i get from the shell when i type "mount /dev/hda vfat" is that "only root can do that". any workaround? i want to try saving my config there, not on the floppy.

TIA.

softwaretester
05-01-2004, 02:18 PM
cut.. paste..

Maybe the noddc option would help.

gsanvic
05-01-2004, 06:19 PM
thank you!

that solved my display problem. now, about the hard disk ... :-S

Markus
05-01-2004, 06:54 PM
You should mount it as root. If you type "sudo" without quotes in front of the mount command it executes that command with root privileges. Typing just "sudo su" makes you root until you exit from it with ctrl-d. If you need a password for root, type "passwd" after su:ing and type in a password (twice). You can also use a root terminal from K-menu -> Knoppix -> Root Shell.

gsanvic
05-02-2004, 05:18 AM
Markus:

i used the root shell like you said (makes things easier), but i can't seem to get the HDD mounted.

maybe i'm doing it the wrong way, but here are the commands i've tried:

mount -t vfat /dev/hda
mount /dev/hda /mnt/hda

but the HDD still can't be mounted. the funny thing is, the /dev/hda option comes out when i try saving my Knoppix Configuration, but it doesn't save. the error message goes something like:

mount: you must specify the filesystem

any ideas? :(

gsanvic
05-02-2004, 05:26 AM
i also tried:

mount /dev/hda /mnt/hda -t vfat
mount /dev/hda /mnt/hda -t autofs

but an error message came out:

mount: wrong fs type, bad option, bad superblock on /dev/hda, or too many mounted filesystems

all i have mounted (i think) are the cdrom and floppy. no devices on pcmcia or usb.

OErjan
05-02-2004, 10:46 AM
try the comand below

sudo mount -t vfat /dev/hda1 /mnt/hda1
you have to name the partition it should mount. in this case i guess 1.
post output from the command below and i can explain furter.

sudo fdisk -l

to me it looks like this (for you most likely very dfferently).

and
root# fdisk -l

Disk /dev/hda: 20.0 GB, 20003880960 bytes
240 heads, 63 sectors/track, 2584 cylinders
Units = cylinders of 15120 * 512 = 7741440 bytes

Device Boot Start End Blocks Id System

/dev/hda1 1 2 15088+ 83 Linux
/dev/hda2 * 3 426 3205408+ b NTFS
/dev/hda3 427 1002 4354560 83 Linux
/dev/hda4 1003 2584 11959920 f W95 Ext'd (LBA)
/dev/hda5 1003 1072 529168+ 82 Linux swap
/dev/hda6 1073 1878 6093328+ 83 Linux
/dev/hda7 1879 2584 5337328+ b W95 FAT32

Disk /dev/sda: 16 MB, 16384000 bytes
4 heads, 32 sectors/track, 250 cylinders
Units = cylinders of 128 * 512 = 65536 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 250 15984 4 FAT16 <32M

this means that hda2 is my windows partition. but my hda7 is the one i use to write files that i want acessible in both linux and Win.
weirdly enough i have not used the XP since i bought computer so i do not even know if it works.

Markus
05-02-2004, 12:38 PM
You could also try "sudo mount -t vfat /dev/hda1 /mnt/hda1" if it's FAT and hda1, as said find out by doing "fdisk -l" as root. No need to put in the "sudo" part in a root shell.

gsanvic
05-02-2004, 03:52 PM
ok. i tried what you guys said. i used the root shell, and this is the output of

fdisk -l

(i still don't know how to copy from a shell window! :( )


Disk /dev/hda 20.0 GB, 20003880960 bytes
255 heads, 63 sectors/track, 2432 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 2432 19535008+ c W95 FAT32 (LBA)

then i tried

mount /dev/hda1 /mnt/hda1

and i got

mount:error while guessing filesystem type
mount: mount point /mnt/hda1 does not exist

then i tried

mount -t vfat /dev/hda1 /mnt/hda1

and got

mount: mount point /mnt/hda1 does not exist

do i need to "define" a mount point, or something? :?

OErjan
05-02-2004, 04:34 PM
to copy from a shell mark the text, move to the window you want the text in put the marker where you desire the text to be and click both right and left simultaniously (or mousewheel only on my logitech).

now to the mounting

the mount point is the directory you want the files to be in, must be empty.
the command

mkdir /mnt/hda1
will make that dinrectory (hda1 in dir /mnt), could be called /mnt/c or whatever (just change te mount to /mnt/c) or just /c even

mount -t vfat /dev/hda1 /mnt/hda1
should now work just fine.

gsanvic
05-03-2004, 07:57 AM
OErjan:

thanks for the shell copying info. saves me loads. anyway, i tried your suggestion. i made the /mnt/hda1 dir and it was created, since i saw it when i used the command


dir /mnt

but when i tried mounting, here was what came up:


root@ttyp0[knoppix]# mount -t vfat /dev/hda1 /mnt/hda1
mount: wrong fs type, bad option, bad superblock on /dev/hda1,
or too many mounted file systems
(could this be the IDE device where you in fact use
ide-scsi so that sr0 or sda or so is needed?)


i don't think i'm using a scsi device, whatever that is...

OErjan
05-03-2004, 08:51 PM
just a few things, ls -al = dir in linux (more info though).
btw what does mount say? that is just the comand mount that displays info on mounted filesystems...
btw have you got a "compressed" filesystem? that is not readable from linux afaik.
hmmm, could i see full output from dmesg? might help but... it is LOTS of text.

softwaretester
05-04-2004, 01:31 PM
the mount /dev/hda2 vfat
command isnt working for a couple of reasons.

1. it's ntfs so, there's a mount command which allows NTFS.
mount -t ntfs /dev/hda2 /mnt/hda2

Also, since the fstab has been set up under knoppix, you'd probably just
mount -t ntfs /mnt/hda2
(crosses fingers.. )

I just dl'd knoppix 3.4 and it has captive NTFS, which means, that you run a program (click the penguin, and the captiveNTFS utility shows up in the menu)
It then searches for ntfs cdfs system files (it's handy if you have those files on a keychain drive for example) and then allows mounting NTFS drives in read/write mode.

softwaretester
05-04-2004, 02:09 PM
update on using the captive NTFS support using knoppix 3.4


First, use the captive ntfs tool under penguin/utilities/ menus.



using the root terminal

mount -t captive-ntfs /dev/hdc1 /mnt/hdc1
(in my case, hdc is the ntfs drive, your's is hda2)

then, in the root terminal, you can start konqueror, and open up the ntfs drive and delete whatever you want.

gsanvic
05-05-2004, 06:58 AM
OErjan:

when i typed "mount", here's what came out:

/dev/root on / type ext2 (rw)
/dev/cdrom on /cdrom type iso9660 (ro)
/dev/cloop on /KNOPPIX type iso9660 (ro)
/ramdisk on /ramdisk type tmpfs (rw,size=90992k)
usb on /proc/bus/usb type usbdevfs (rw,devmode=0666)
automount(pid317) on /mnt/auto type autofs (rw,fd=4,pgrp=317,minproto=2,maxproto=4)


and for "dmesg":

ISO 9660 Extensions: Microsoft Joliet Level 3
kmod: failed to exec /sbin/modprobe -s -k nls_iso8859-1, errno = 2
kmod: failed to exec /sbin/modprobe -s -k nls_iso8859-1, errno = 2
ISO 9660 Extensions: RRIP_1991A
cloop: Initializing cloop v2.01
cloop: loaded (max 8 devices)
cloop: /cdrom/KNOPPIX/KNOPPIX: 29909 blocks, 65536 bytes/block, largest block is 65562 bytes.
ISO 9660 Extensions: RRIP_1991A
Freeing unused kernel memory: 136k freed
Real Time Clock Driver v1.10e
apm: BIOS version 1.2 Flags 0x02 (Driver version 1.16)
Linux Kernel Card Services 3.1.22
options: [pci] [cardbus] [pm]
PCI: Found IRQ 11 for device 00:11.0
PCI: Found IRQ 11 for device 00:11.1
Yenta IRQ list 06b8, PCI irq11
Socket status: 30000007
Yenta IRQ list 06b8, PCI irq11
Socket status: 30000007
cs: IO port probe 0x0c00-0x0cff: clean.
cs: IO port probe 0x0820-0x08ff: clean.
cs: IO port probe 0x0800-0x080f: clean.
cs: IO port probe 0x0100-0x04ff: excluding 0x378-0x37f 0x3f8-0x3ff 0x408-0x40f 0x480-0x48f 0x4d0-0x4d7
cs: IO port probe 0x0a00-0x0aff: clean.
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb-uhci.c: $Revision: 1.275 $ time 01:17:44 Feb 4 2004
usb-uhci.c: High bandwidth mode enabled
usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
PCI: Found IRQ 11 for device 00:02.0
usb-ohci.c: USB OHCI at membase 0xc83b5000, IRQ 11
usb-ohci.c: usb-00:02.0, ALi Corporation USB 1.1 Controller
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
usbdevfs: remount parameter error
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
parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE]
parport0: irq 7 detected
eepro100.c:v1.09j-t 9/29/99 Donald Becker http://www.scyld.com/network/eepro100.html
eepro100.c: $Revision: 1.36 $ 2000/11/17 Modified by Andrey V. Savochkin <saw@saw.sw.com.sg> and others
PCI: Found IRQ 11 for device 00:0a.0
eth0: OEM i82557/i82558 10/100 Ethernet, 00:00:39:83:05:9B, IRQ 11.
Board assembly 000000-000, Physical connectors present: RJ45
Primary interface chip i82555 PHY #1.
General self-test: passed.
Serial sub-system self-test: passed.
Internal registers self-test: passed.
ROM checksum self-test: passed (0x04f4518b).
Trident 4DWave/SiS 7018/ALi 5451,Tvia CyberPro 5050 PCI Audio, version 0.14.10h, 01:16:52 Feb 4 2004
PCI: Found IRQ 11 for device 00:06.0
trident: ALi Audio Accelerator found at IO 0xed00, IRQ 11
ac97_codec: AC97 codec, id: (Unknown)
PCI: Found IRQ 11 for device 00:06.0
gameport0: ALi Corporation M5451 PCI AC-Link Controller Audio Device at pci00:06.0 speed 1754 kHz
Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 86M
agpgart: Detected Ali M1632 chipset
agpgart: AGP aperture is 64M @ 0xf8000000
FAT: bogus logical sector size 64543
VFS: Can't find a valid FAT filesystem on dev 03:00.
FAT: bogus logical sector size 64543
VFS: Can't find a valid FAT filesystem on dev 03:00.
NTFS driver v1.1.22 [Flags: R/W MODULE]
Journalled Block Device driver loaded
VFS: Can't find ext3 filesystem on dev ide0(3,0).
VFS: Can't find ext2 filesystem on dev ide0(3,0).
Unable to identify CD-ROM format.
sh-2021: reiserfs_read_super: can not find reiserfs on ide0(3,0)
FAT: bogus logical sector size 64543
VFS: Can't find a valid FAT filesystem on dev 03:00.
SGI XFS snapshot-2.4.23-2003-12-01_00:33_UTC with ACLs, realtime, no debug enabled
SGI XFS Quota Management subsystem
XFS: bad magic number
XFS: SB validate failed
VFS: Can't find a Minix or Minix V2 filesystem on device 03:00.
VFS: Can't find a HFS filesystem on dev 03:00.
EFS: 1.0a - http://aeschi.ch.eu.org/efs/


i don't think i have a compressed drive. i never believed in those things. :)

gsanvic
05-05-2004, 06:59 AM
softwaretester:

no, i'm not using NTFS. when i migrated to win2k, i explicitly wanted to stay on the FAT32 filesystem.

:D