Linux Sound problem

HDA normal and sudo.
Code:
ubuntu@ubuntu:~$ fdisk /dev/hda
You will not be able to write the partition table.
Note: sector size is 2048 (not 512)
Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklab                                                              el
Building a new DOS disklabel. Changes will remain in memory only,
until you decide to write them. After that, of course, the previous
content won't be recoverable.

Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)

Command (m for help): sudo fdisk /dev/hda
Building a new sun disklabel. Changes will remain in memory only,
until you decide to write them. After that, of course, the previous
content won't be recoverable.

Drive type
   ?   auto configure
   0   custom (with hardware detected defaults)
   a   Quantum ProDrive 80S
   b   Quantum ProDrive 105S
   c   CDC Wren IV 94171-344
   d   IBM DPES-31080
   e   IBM DORS-32160
   f   IBM DNES-318350
   g   SEAGATE ST34371
   h   SUN0104
   i   SUN0207
   j   SUN0327
   k   SUN0340
   l   SUN0424
   m   SUN0535
   n   SUN0669
   o   SUN1.0G
   p   SUN1.05
   q   SUN1.3G
   r   SUN2.1G
   s   IOMEGA Jaz
Select type (? for auto, 0 for custom):
Select type (? for auto, 0 for custom): 0
Heads (1-1024):
HDB on sudo

Code:
ubuntu@ubuntu:~$ sudo fdisk /dev/hda
You will not be able to write the partition table.
Note: sector size is 2048 (not 512)
Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel
Building a new DOS disklabel. Changes will remain in memory only,
until you decide to write them. After that, of course, the previous
content won't be recoverable.

Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)

Command (m for help):
 
All of them are not there, infact the only mounted partition/drive is the DVD.

That is what you want. If they were mounted you couldn't do an fsck.

try this, like the help suggested:
Code:
e2fsck -b 8193 <device>

I don't know what the block size is on a default ubuntu install but read this.

at the fdisk prompt type the letter 'l' to List partitions on that drive.
Code:
Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)
I though it was hdb that was messed up.
 
ubuntu@ubuntu:~$ sudo fdisk -l

Disk /dev/hdb: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 * 1 3569 28667961 7 HPFS/NTFS
/dev/hdb2 3825 14104 82574100 f W95 Ext'd (LBA)
/dev/hdb5 3825 5446 13028683+ 7 HPFS/NTFS
/dev/hdb6 5447 8748 26523283+ 7 HPFS/NTFS
/dev/hdb7 8749 9067 2562336 7 HPFS/NTFS
/dev/hdb8 9068 10852 14337981 83 Linux
/dev/hdb9 10853 10917 522081 82 Linux swap / Solaris
/dev/hdb10 10918 11299 3068383+ 83 Linux
/dev/hdb11 13850 14104 2048256 83 Linux

How do i do the fdisk thing for my second drive, this is only for my 160gb samsung drive.
 
Ok, and first i did this:
ubuntu@ubuntu:~$ sudo fdisk /dev/hdb

The number of cylinders for this disk is set to 19457.
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)

ubuntu@ubuntu:~$
ubuntu@ubuntu:~$ sudo fdisk /dev/hda -l
Note: sector size is 2048 (not 512)

Disk /dev/hda: 3762 MB, 3762749440 bytes
255 heads, 63 sectors/track, 114 cylinders
Units = cylinders of 16065 * 2048 = 32901120 bytes

Disk /dev/hda doesn't contain a valid partition table

ubuntu@ubuntu:~$ sudo fdisk /dev/hdb -l

Disk /dev/hdb: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 * 1 3569 28667961 7 HPFS/NTFS
/dev/hdb2 3825 14104 82574100 f W95 Ext'd (LBA)
/dev/hdb5 3825 5446 13028683+ 7 HPFS/NTFS
/dev/hdb6 5447 8748 26523283+ 7 HPFS/NTFS
/dev/hdb7 8749 9067 2562336 7 HPFS/NTFS
/dev/hdb8 9068 10852 14337981 83 Linux
/dev/hdb9 10853 10917 522081 82 Linux swap / Solaris
/dev/hdb10 10918 11299 3068383+ 83 Linux
/dev/hdb11 13850 14104 2048256 83 Linux
ubuntu@ubuntu:~$
 
I don't know if this will work on ubuntu but the -i option will initiallize sector 0 where your partition table is kept.

so
Code:
sudo fdisk /dev/hda -i

I really sounds like the partition table is corrupt and not usable. Is it an option to reformat the whole disk?
 
ubuntu@ubuntu:~$ sudo fdisk /dev/hda -i
fdisk: invalid option -- i

Usage: fdisk [-b SSZ] [-u] DISK Change partition table
fdisk -l [-b SSZ] [-u] DISK List partition table(s)
fdisk -s PARTITION Give partition size(s) in blocks
fdisk -v Give fdisk version
Here DISK is something like /dev/hdb or /dev/sda
and PARTITION is something like /dev/hda7
-u: give Start and End in sector (instead of cylinder) units
-b 2048: (for certain MO disks) use 2048-byte sectors
.

Now if a reformated the whole disk, i would loose windows, is there any way to find if its corrut, in windows Partition magic dont seem to think its corrupt anymore.
 
are you using boot magic? that might be the problem. you would need to read the partition magic manual to find out how to make it release control of your partition table. Sounds like PM did something to your partition table that only it can read.
 
Whats Boot Magic? Is any of the problems related to the 250gb HDD showing as INVALID in paragon Partition Manager?
 
Whats Boot Magic?
you said:
in windows Partition magic dont seem to think its corrupt anymore.

boot magic comes with partition magic and it is a boot manager like lilo or grub or whatever. I used it once and it is a piece of crap.

Is any of the problems related to the 250gb HDD showing as INVALID in paragon Partition Manager?
Most likely. Are you booting multiple windows installations?
 
That's the price you pay for having the latest hardware, manufacturers aren't always so friendly and release technical information or open source their drivers so its not the fault of Linux. :(. Creative really aren't Linux friendly.
They actually open-sourced their EMU10k1 drivers, and now thanks to community involvement, the Linux ones are better than the proprietary ones.
May 18, 2006 -- Creative plans to make proprietary (closed source) drivers available for the X-Fi series of sound cards in the second quarter of 2007. These drivers will have full support for ALSA (playback, recording, mixer, MIDI, synthesis) and OpenAL 1.1 (with EAX effects).
...let's hope their proprietary drivers work better in Linux than they do in Windows.
 
i was, now its linux/ windows, i only have 1 windows instalation now, but it still shows as 2 in the bootloader thing, all the second hdd is for is files, no os, no software instalations etc.. .

Oh yay, second quarter of 2007, have i got a way to go or have i got a way to go :(
 
i was, now its linux/ windows, i only have 1 windows instalation now, but it still shows as 2 in the bootloader thing, all the second hdd is for is files, no os, no software instalations etc..

I'm confused. If it is your data hdd that is acting up, then why would you loose windows if you reformatted it? I thought Windows wasn't on that hdd. I'm not saying reformat EVERY thing, just the data drive.

EDIT: how many partitions are on that drive?
 
Ok, 160GB hdd (has linux, windows all that jazz on), 250GB, DATA (why would it cause problems for linux tho?, all it has on it is 250GB worth of data which i cant back up due to lack of space)
 
Ok, 160GB hdd (has linux, windows all that jazz on), 250GB, DATA (why would it cause problems for linux tho?, all it has on it is 250GB worth of data which i cant back up due to lack of space)
OK, what is your data drive formatted as? If it is NTFS or FAT32 then go into windows and do a scandisk or some other hard disk/partition diagnostic. Maybe load up partition magic and see if you get errors on that drive. That should get you somewhere.
 
When you say my data drive, you mean 250GB right? is it chdsk X: to scan the 250gb hdd as it's drive letter is X in my computer.
 
C:\Documents and Settings\willz>chkdsk X:
The type of the file system is NTFS.
Volume label is SME ex srv.

WARNING! F parameter not specified.
Running CHKDSK in read-only mode.

CHKDSK is verifying files (stage 1 of 3)...
File verification completed.
CHKDSK is verifying indexes (stage 2 of 3)...
Index verification completed.
CHKDSK is verifying security descriptors (stag
Security descriptor verification completed.

244091735 KB total disk space.
238687780 KB in 83037 files.
33700 KB in 4519 indexes.
0 KB in bad sectors.
197323 KB in use by the system.
65536 KB occupied by the log file.
5172932 KB available on disk.

4096 bytes in each allocation unit.
61022933 total allocation units on disk.
1293233 allocation units available on disk.

.
 
They actually open-sourced their EMU10k1 drivers, and now thanks to community involvement, the Linux ones are better than the proprietary ones.
...let's hope their proprietary drivers work better in Linux than they do in Windows.
Oh great, didn't know that. I was thinking of buying a new sound card, integrateds getting a bit old.
 
Back
Top