LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 02-17-2007, 12:12 AM   #16
wildar
Member
 
Registered: Jan 2007
Distribution: Mandriva 2008, Mandrake 2005, Ubuntu 8.04.1
Posts: 239

Rep: Reputation: 30

Quote:
Originally Posted by Fixed_it
I guess I dont know what the "c" ID is and the (LBA), for the sdb1.
LBA = Large Block Addressing, http://en.wikipedia.org/wiki/Logical_block_addressing

"c" denotes the hex code fdisk associates with partition type W95 FAT32 (LBA):
Code:
 0  Empty           1e  Hidden W95 FAT1 80  Old Minix       be  Solaris boot   
 1  FAT12           24  NEC DOS         81  Minix / old Lin bf  Solaris        
 2  XENIX root      39  Plan 9          82  Linux swap / So c1  DRDOS/sec (FAT-
 3  XENIX usr       3c  PartitionMagic  83  Linux           c4  DRDOS/sec (FAT-
 4  FAT16 <32M      40  Venix 80286     84  OS/2 hidden C:  c6  DRDOS/sec (FAT-
 5  Extended        41  PPC PReP Boot   85  Linux extended  c7  Syrinx         
 6  FAT16           42  SFS             86  NTFS volume set da  Non-FS data    
 7  HPFS/NTFS       4d  QNX4.x          87  NTFS volume set db  CP/M / CTOS / .
 8  AIX             4e  QNX4.x 2nd part 88  Linux plaintext de  Dell Utility   
 9  AIX bootable    4f  QNX4.x 3rd part 8e  Linux LVM       df  BootIt         
 a  OS/2 Boot Manag 50  OnTrack DM      93  Amoeba          e1  DOS access     
 b  W95 FAT32       51  OnTrack DM6 Aux 94  Amoeba BBT      e3  DOS R/O        
 c  W95 FAT32 (LBA) 52  CP/M            9f  BSD/OS          e4  SpeedStor      
 e  W95 FAT16 (LBA) 53  OnTrack DM6 Aux a0  IBM Thinkpad hi eb  BeOS fs        
 f  W95 Ext'd (LBA) 54  OnTrackDM6      a5  FreeBSD         ee  EFI GPT        
10  OPUS            55  EZ-Drive        a6  OpenBSD         ef  EFI (FAT-12/16/
11  Hidden FAT12    56  Golden Bow      a7  NeXTSTEP        f0  Linux/PA-RISC b
12  Compaq diagnost 5c  Priam Edisk     a8  Darwin UFS      f1  SpeedStor      
14  Hidden FAT16 <3 61  SpeedStor       a9  NetBSD          f4  SpeedStor      
16  Hidden FAT16    63  GNU HURD or Sys ab  Darwin boot     f2  DOS secondary  
17  Hidden HPFS/NTF 64  Novell Netware  b7  BSDI fs         fd  Linux raid auto
18  AST SmartSleep  65  Novell Netware  b8  BSDI swap       fe  LANstep        
1b  Hidden W95 FAT3 70  DiskSecure Mult bb  Boot Wizard hid ff  BBT            
1c  Hidden W95 FAT3 75  PC/IX
 
Old 02-17-2007, 02:34 AM   #17
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 113Reputation: 113
This is most unusual and can be a bug.

Paste your directory /dev here.

If sdb1 isn't there you can create it as follow
Code:
mknod -m 660 /dev/sdb1 b 3 1
chgrp disk /dev/sdb1
Similarly for device sdb if needed.
 
Old 02-19-2007, 07:15 PM   #18
Fixed_it
Member
 
Registered: Jun 2006
Location: New England
Distribution: FC11
Posts: 48

Original Poster
Rep: Reputation: 15
a bug, well it seemed like it. I usually go with the assumption that I did it wrong

Quote:
[xxxx@localhost ~]$ cd /dev
[xxxx@localhost dev]$ ls
adsp fd0u820 ppp sg4 tty35 urandom
agpgart fd0u830 ptmx sg5 tty36 usbdev1.1_ep00
audio floppy pts shm tty37 usbdev1.1_ep81
bus floppy-fd0 ram snapshot tty38 usbdev1.3_ep00
cdrom full ram0 snd tty39 usbdev1.3_ep81
cdrom-hda gpmctl ram1 stderr tty4 usbdev2.1_ep00
cdrom-hdb hda ram10 stdin tty40 usbdev2.1_ep81
cdrw hdb ram11 stdout tty41 usbdev3.1_ep00
cdrw-hda hpet ram12 systty tty42 usbdev3.1_ep81
cdrw-hdb hw_random ram13 tty tty43 usbdev4.1_ep00
cdwriter hwrng ram14 tty0 tty44 usbdev4.1_ep81
cdwriter-hda initctl ram15 tty1 tty45 usbdev5.1_ep00
cdwriter-hdb input ram2 tty10 tty46 usbdev5.1_ep81
console kmsg ram3 tty11 tty47 usbdev5.3_ep00
core log ram4 tty12 tty48 usbdev5.3_ep02
disk loop0 ram5 tty13 tty49 usbdev5.3_ep81
dri loop1 ram6 tty14 tty5 vcs
dsp loop2 ram7 tty15 tty50 vcs1
dvd loop3 ram8 tty16 tty51 vcs2
dvd-hda loop4 ram9 tty17 tty52 vcs3
dvd-hdb loop5 ramdisk tty18 tty53 vcs4
dvdrw loop6 random tty19 tty54 vcs5
dvdrw-hdb loop7 root tty2 tty55 vcs6
dvdwriter lp0 rtc tty20 tty56 vcs7
dvdwriter-hdb MAKEDEV sda tty21 tty57 vcs8
fd mapper sda1 tty22 tty58 vcsa
fd0 md0 sda2 tty23 tty59 vcsa1
fd0u1040 mem sdb tty24 tty6 vcsa2
fd0u1120 mixer sdb1 tty25 tty60 vcsa3
fd0u1440 net sdc tty26 tty61 vcsa4
fd0u1680 null sdd tty27 tty62 vcsa5
fd0u1722 nvram sde tty28 tty63 vcsa6
fd0u1743 oldmem sdf tty29 tty7 vcsa7
fd0u1760 par0 sequencer tty3 tty8 vcsa8
fd0u1840 parport0 sequencer2 tty30 tty9 VolGroup01
fd0u1920 parport1 sg0 tty31 ttyS0 X0R
fd0u360 parport2 sg1 tty32 ttyS1 zero
fd0u720 parport3 sg2 tty33 ttyS2
fd0u800 port sg3 tty34 ttyS3
so I see sdb1 there, but cant do anything with it..
Awaiting your advice
Thanks again
 
Old 02-20-2007, 02:42 AM   #19
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 113Reputation: 113
Did you let the Linux form the LVM using the two disks?

LVM is a manager layer that will handle the filing systems in side the LVM. THus sdb1 may be a device but it may be under the LVM control and not you, as you could have given up the previous control by telling Fedora "yes, go ahead, use all my disk space and disks to form a LVM". If this is the case you need to break up LVM to free sdb1.
 
Old 02-20-2007, 04:42 AM   #20
Fixed_it
Member
 
Registered: Jun 2006
Location: New England
Distribution: FC11
Posts: 48

Original Poster
Rep: Reputation: 15
but thats just the thing. I did not create using all free space. I set it up manually, so as not to touch this drive. And if I attempt to follow the directions for breaking up an LVM, it doesn't appear to be in the LVM. It seems to belong to nothing. Where is the LVM information stored? Is it on the drive or is there a record on the system drive? Can I just physically pull it , and format it ntfs to wipe this and reattach it and follow the given directions for initializing it as a vfat drive?
 
Old 02-20-2007, 07:01 AM   #21
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 113Reputation: 113
You can pull it off to do whatever you want but a 3rd party opinion can easily be sought.

Why not boot up a Live CD, any one will do, and see if that Linux can see, format and mount sdb1?
 
Old 02-22-2007, 04:51 AM   #22
Fixed_it
Member
 
Registered: Jun 2006
Location: New England
Distribution: FC11
Posts: 48

Original Poster
Rep: Reputation: 15
Wow this is driving me crazy!
Ok it took a little while I wanted to download the new knoppix...
that done I was able to issue the mkdosfs command. I was not able to mount it however. I came back to FC6 and it looks like not much has changed, it is still "not a valid block device" yet it is not a Logical Volume either. I have never been able to get this mounted since I purchased it, is there a hardware issue here?
 
Old 02-22-2007, 09:31 AM   #23
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 113Reputation: 113
I don't think it is a hardware issue. Your sdb is usable in another Linux, right? That proves it is OK.

I suspect it may be to do with the way you have set up the LVM making FC6 regarding sdb as under the LVM control. LVM is a managemant layer you introduced into FC6. You may be able to access it via the LVM's own commands/tools. I don't use LVM because and so cannot advise.
 
Old 02-22-2007, 01:28 PM   #24
Fixed_it
Member
 
Registered: Jun 2006
Location: New England
Distribution: FC11
Posts: 48

Original Poster
Rep: Reputation: 15
Well no its not usable. I couldn't get it to work. It wasn't detected automatically, and my attempts to manually mount were unsuccessful. The one command worked, but that was it.
 
Old 02-22-2007, 02:13 PM   #25
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 113Reputation: 113
Is your sdb a Sata II hard disk that the mobo is incapable of supporting? Older mobo support older Sata I and may not be able to read a Sata II, no matter what system you use. If your Sata stamped with a 1.5Gb/s it is a Sata I. Sata II doubles it to 3Gb/s.

You can prove it easily by open up the box, pull off the electrical power to the other disk and see if XP installer can install on this new Sata disk.
 
Old 02-22-2007, 05:35 PM   #26
Fixed_it
Member
 
Registered: Jun 2006
Location: New England
Distribution: FC11
Posts: 48

Original Poster
Rep: Reputation: 15
Ok... I took it out to look at, and it seems to be a SATA II drive, that I have restrained to 1.5 Mb/s with a jumper. I dont think it is a M/B issue as the SATA controller recognizes that I have 2 SATA drives on POST. Do I need some kind of kernel support or the like??
 
Old 02-22-2007, 06:28 PM   #27
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 113Reputation: 113
If Linux can read sdb now then it was a mobo issue.

Setting Sata II to 1.5Mb/s restricts it to work as a Sata I. That means your mobo supports Sata I but not Sata II.
 
Old 02-22-2007, 08:40 PM   #28
Fixed_it
Member
 
Registered: Jun 2006
Location: New England
Distribution: FC11
Posts: 48

Original Poster
Rep: Reputation: 15
Well I can not access the drive at all. No matter what I try it will not let me in. I didn't change the SATA setting either. It was set to 1.5 at the factory, so that is not the issue. Any other ideas ?
 
Old 02-22-2007, 08:42 PM   #29
Fixed_it
Member
 
Registered: Jun 2006
Location: New England
Distribution: FC11
Posts: 48

Original Poster
Rep: Reputation: 15
Oh yea, Thank you very much for persevering my ignorance here. I really appreciate it! Maybe we are almost there eh?
 
Old 02-23-2007, 02:29 AM   #30
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 113Reputation: 113
You did confirm the drive was recognised in Knoppix.

You were able to format it too with the mkdosfs command.

If a kernel allows you to format a drive that means it can write on it.

You should therefore be able to mount it at least manually and write files onto the partition.

What exactly you cannot do in Knoppix with this drive?

Assuming you have created a partition sdb1 in partition type c, formatted it with command "mkdosfs -F32 /dev/sdb1", it should be available for use in Fedora or Knoppix by commands at root terminal
Code:
mkdir /mnt/sdb1
mount /dev/sdb1 /mnt/sdb1
Add "sudo" in front of the command if you are not in root.
 
  


Reply

Tags
mount, sata, secondary



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
where are files after mount sdb1? LetMeTryToo Linux - Newbie 3 11-08-2006 03:52 AM
mount: /dev/sdb1 is not a valid block device zaltar Linux - General 8 07-13-2005 02:07 AM
SDB1 IS NOT A VALID BLOCK DEVICE - CF reader help woodo Linux - Software 12 07-07-2004 09:52 AM
mount: wrong fs type, bad option, bad superblock on /dev/sdb1 pmoreira Linux - Hardware 5 02-26-2004 10:31 AM
sdb but no sdb1? Moebius Linux - Hardware 3 02-15-2004 06:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration