vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| I am new to Linux so these are basic questions. I have two hard drives in my computer. At boot time both drives are recognized by the system. The primary drive has three partions HDA1-3. The secondary master shows up as HDC1 with a single partition comprising the entire disk. When I go into the hardware browser both drives are there. When I go to the disk mount utility HDC1 does not show up. Does this mean the HDC1 is mounted already? I would like to make a DOS partition on the second hard drive but when I try and do it using FDISK from the root directory I get "permission denied" What am I doing wrong? If I chose to use Disk Druid instead of FDISK how do I call the program? Is there any particularily good book someone should have as a reference for RH 9.0? Thanks, Joe |
| |||
| >>>>> "Joe" == Joe Ready <j0eb0b@snigglet.com> writes: Joe> Joe> I am new to Linux so these are basic questions. Joe> I have two hard drives in my computer. At boot time both drives Joe> are recognized by the system. The primary drive has three Joe> partions HDA1-3. The secondary master shows up as HDC1 with a Joe> single partition comprising the entire disk. When I go into the Joe> hardware browser both drives are there. When I go to the disk Joe> mount utility HDC1 does not show up. Joe> Joe> Does this mean the HDC1 is mounted already? You can get a list of what is mounted by typing "df" or "mount". See if it is mounted. Joe> I would like to make a DOS partition on the second hard drive but Joe> when I try and do it using FDISK from the root directory I get Joe> "permission denied" What am I doing wrong? Are you trying to do that as the user root ? You probably have to be root to do that. Joe> If I chose to use Disk Druid instead of FDISK how do I call the Joe> program? I never use it . . . Joe> Is there any particularily good book someone should have as a Joe> reference for RH 9.0? You might need a more general book on linux. Redhat's own documention is ok as far as it goes: https://www.redhat.com/docs/manuals/linux/ --Rob |
| |||
| Joe Ready wrote: > I am new to Linux so these are basic questions. > > I have two hard drives in my computer. At boot time both drives are > recognized by the system. The primary drive has three partions > HDA1-3. The secondary master shows up as HDC1 with a single partition > comprising the entire disk. When I go into the hardware browser both > drives are there. When I go to the disk mount utility HDC1 does not > show up. > > Does this mean the HDC1 is mounted already? > > I would like to make a DOS partition on the second hard drive but when > I try and do it using FDISK from the root directory I get "permission > denied" What am I doing wrong? > > If I chose to use Disk Druid instead of FDISK how do I call the > program? > > Is there any particularily good book someone should have as a > reference for RH 9.0? What do you get from the command as root?: fdisk -l It should show both drives and all partitions on the drives. By the way "FDISK" isn't the same as "fdisk" on a linux system. Linux is case sensitive. -- Confucius: He who play in root, eventually kill tree. Registered with The Linux Counter. http://counter.li.org/ Slackware 9.1.0 Kernel 2.4.25 SMP i686 (GCC) 3.3.3 Uptime: 2 days, 29 min, 3 users, load average: 1.00, 1.04, 1.0 |
| |||
| David <thunderbolt01@netscape.net> wrote in message news:<WhBZb.28579$4o.44896@attbi_s52>... > Joe Ready wrote: > > I am new to Linux so these are basic questions. > > > > I have two hard drives in my computer. At boot time both drives are > > recognized by the system. The primary drive has three partions > > HDA1-3. The secondary master shows up as HDC1 with a single partition > > comprising the entire disk. When I go into the hardware browser both > > drives are there. When I go to the disk mount utility HDC1 does not > > show up. > > > > Does this mean the HDC1 is mounted already? > > > > I would like to make a DOS partition on the second hard drive but when > > I try and do it using FDISK from the root directory I get "permission > > denied" What am I doing wrong? > > > > If I chose to use Disk Druid instead of FDISK how do I call the > > program? > > > > Is there any particularily good book someone should have as a > > reference for RH 9.0? > > What do you get from the command as root?: fdisk -l > It should show both drives and all partitions on the drives. > > By the way "FDISK" isn't the same as "fdisk" on a linux system. > Linux is case sensitive. Thanks for the tip on case sensitivity. I'm sure that is problem one since I was typing in upper case. I seem, however, to be sliding backwards. When I attempted to log in this morning I get the error "Your account has expired, contact your system adminstrator". My system is configured with only a single user (me). Trying to reboot with the recovery diskette also fails. Any idea how to regain access? Thanks, Joe |
| |||
| j0eb0b@snigglet.com (Joe Ready) wrote in message news:<39d5dd6b.0402201212.1ed2638a@posting.google. com>... > I am new to Linux so these are basic questions. > > I have two hard drives in my computer. At boot time both drives are > recognized by the system. The primary drive has three partions > HDA1-3. The secondary master shows up as HDC1 with a single partition > comprising the entire disk. When I go into the hardware browser both > drives are there. When I go to the disk mount utility HDC1 does not > show up. > > Does this mean the HDC1 is mounted already? No. Well for a partition to show there I think you would need to add it in fstab. See man fstab for more info. > I would like to make a DOS partition on the second hard drive but when > I try and do it using FDISK from the root directory I get "permission > denied" What am I doing wrong? I think that becoming su would help > If I chose to use Disk Druid instead of FDISK how do I call the > program? > > Is there any particularily good book someone should have as a > reference for RH 9.0? I think experience is your best bet. > Thanks, > Joe |
| |||
| David <thunderbolt01@netscape.net> wrote in message news:<WhBZb.28579$4o.44896@attbi_s52>... > Joe Ready wrote: > > I am new to Linux so these are basic questions. > > > > I have two hard drives in my computer. At boot time both drives are > > recognized by the system. The primary drive has three partions > > HDA1-3. The secondary master shows up as HDC1 with a single partition > > comprising the entire disk. When I go into the hardware browser both > > drives are there. When I go to the disk mount utility HDC1 does not > > show up. > > > > Does this mean the HDC1 is mounted already? > > > > I would like to make a DOS partition on the second hard drive but when > > I try and do it using FDISK from the root directory I get "permission > > denied" What am I doing wrong? > > > > If I chose to use Disk Druid instead of FDISK how do I call the > > program? > > > > Is there any particularily good book someone should have as a > > reference for RH 9.0? > > What do you get from the command as root?: fdisk -l > It should show both drives and all partitions on the drives. > > By the way "FDISK" isn't the same as "fdisk" on a linux system. > Linux is case sensitive. David, I figured out how to get in and reset my user password and thus could test your suggestions. The df command issued from the root directory shows only the three partitions of hda, my first drive. when I issue "fdisk -l I get a Bash error "command unknown" Another related observation, when I plug a USB thumbdrive into a USB port it too is recognized in the hardware browser as a removable disk drive but I don't have any option to mount it either. Pardon my ignorance but could you quote me the exact syntax of the commands I should be issuing from the root directory prompt? I'm sure the lion's share of my problem is cockpit error. |
| |||
| Joe Ready wrote: > > I figured out how to get in and reset my user password and thus could > test your suggestions. > > The df command issued from the root directory shows only the three > partitions of hda, my first drive. > > when I issue "fdisk -l I get a Bash error "command unknown" Did you include the quotes in the command? If you did, don't! fdisk -l That should show something similar to this. Of course it will show the drives and partitions of your system. fdisk -l Disk /dev/sda: 36.7 GB, 36703933440 bytes 255 heads, 63 sectors/track, 4462 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sda1 1 486 3903763+ 83 Linux /dev/sda3 487 4462 31937220 5 Extended /dev/sda5 487 610 995998+ 82 Linux swap /dev/sda6 611 899 2321361 83 Linux /dev/sda7 900 4462 28619766 83 Linux Disk /dev/sdb: 9105 MB, 9105018880 bytes 255 heads, 63 sectors/track, 1106 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sdb1 1 547 4393746 83 Linux /dev/sdb2 548 1106 4490167+ 83 Linux > Another related observation, when I plug a USB thumbdrive into a USB > port it too is recognized in the hardware browser as a removable disk > drive but I don't have any option to mount it either. You have to tell it which device to mount. Something like this but you may also need to tell it which filesystem to mount as well. mount /dev/xxx /mnt/hd xxx being the device/partition and /mnt/hd being the mount point to use. Or tell it which filesystem like this. mount -t msdos /dev/xxx /mnt/hd msdos can be vfat, ext2, ext3 reiserfs, or which ever filesystem the drive is formatted as. > Pardon my ignorance but could you quote me the exact syntax of the > commands I should be issuing from the root directory prompt? I'm sure > the lion's share of my problem is cockpit error. Most commands in linux are all small letters. There are a few that have capital letters though. -- Confucius: He who play in root, eventually kill tree. Registered with The Linux Counter. http://counter.li.org/ Slackware 9.1.0 Kernel 2.4.25 SMP i686 (GCC) 3.3.3 Uptime: 2 days, 23:14, 3 users, load average: 1.04, 1.39, 1.65 |
| |||
| Chris Mantoulidis wrote: > > No. Well for a partition to show there I think you would need to add > it in fstab. See man fstab for more info. fdisk -l Will show the drives and partitions even if they aren't listed in /etc/fstab. -- Confucius: He who play in root, eventually kill tree. Registered with The Linux Counter. http://counter.li.org/ Slackware 9.1.0 Kernel 2.4.25 SMP i686 (GCC) 3.3.3 Uptime: 2 days, 23:29, 4 users, load average: 1.18, 1.18, 1.37 |
| |||
| "Joe Ready" <j0eb0b@snigglet.com> wrote in message news:39d5dd6b.0402201212.1ed2638a@posting.google.c om... > I am new to Linux so these are basic questions. > > I have two hard drives in my computer. At boot time both drives are > recognized by the system. The primary drive has three partions > HDA1-3. The secondary master shows up as HDC1 with a single partition > comprising the entire disk. When I go into the hardware browser both > drives are there. When I go to the disk mount utility HDC1 does not > show up. > > Does this mean the HDC1 is mounted already? > > I would like to make a DOS partition on the second hard drive but when > I try and do it using FDISK from the root directory I get "permission > denied" What am I doing wrong? > > If I chose to use Disk Druid instead of FDISK how do I call the > program? > > Is there any particularily good book someone should have as a > reference for RH 9.0? > > Thanks, > Joe I'm new to Linux myself (about a week) but isn't hdc your CDROM drive? It seems to me that a second hard drive would show up as hdb, I'm assuming that you don't have it attached to some additional ide port card like a ata100 controller or something like that which could complicate the issue. If, in fact, hdc is CDROM then that explains why it's a single partition that you can't access. What sort of things show up in /dev and /mnt? The man pages are your friends, takes a lot of reading to figure this stuff out. Rodney |
| ||||
| On 20 Feb 2004 12:12:09 -0800, Joe Ready <j0eb0b@snigglet.com> wrote: > I am new to Linux so these are basic questions. > > I have two hard drives in my computer. At boot time both drives are > recognized by the system. The primary drive has three partions > HDA1-3. The secondary master shows up as HDC1 with a single partition > comprising the entire disk. When I go into the hardware browser both > drives are there. When I go to the disk mount utility HDC1 does not > show up. > > Does this mean the HDC1 is mounted already? > > I would like to make a DOS partition on the second hard drive but when > I try and do it using FDISK from the root directory I get "permission > denied" What am I doing wrong? > You have to be root to use fdisk. Login as root or use su or sudo. -- Incrsease your earoning poswer and gaerner profwessional resspect. Get the Un1iversity Dewgree you have already earned. [from the prestigious, non-accredited University of Spam!] |