LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 06-04-2004, 04:50 PM   #31
Paul Fox
Member
 
Registered: May 2004
Location: Edmond WV
Distribution: SuSE 9.2 Professional, Fedora Core 1, Knoppix 3.4
Posts: 49

Original Poster
Rep: Reputation: 15

Thanks for the "cfdisk" information.

Again...be right back

Regards,
Paul
 
Old 06-04-2004, 04:59 PM   #32
motub
Senior Member
 
Registered: Sep 2003
Location: The Netherlands
Distribution: Gentoo (main); SuSE 9.3 (fallback)
Posts: 1,607

Rep: Reputation: 46
Our posts have crossed each other (and I suspect this one will suffer the same fate), but I see I was right in suspecting additional drives.

In any case, I can tell you what has happened, in part, and most of it is what you wanted.

C has remained untouched. D has probably remained untouched, as to the best of my knowledge, Fedora Core 1 cannot resize NTFS drives/partitions, and I assume D was NTFS (since Fedora can't create NTFS partitions either).

The 16GB partition is probably used for root (as very few distros would fit on the 2 GB partition that you intended for /swap, and FC 1 is not one of them).

The 2 GB partition that you intended for /swap has been mounted as a regular partition, probably because it was not reformatted to the /swap filesystem-- did you use automatic partitioning, or tell the installer to use existing Linux partitions?

It's probably the /home folder, since that's the most common separate partition, and if it was used for /boot or something, it would be marked bootable or something (and would be quite small--50MB or less).

No idea where the FAT32 partition came from.

And whatever size /swap actually is, that space was taken from one of the other partitions-- couldn't guess which until you post the actual partition sizes-- but this should not be much of a problem as /swap usually maxes out at 512MB unless you really have more than 512MB of memory, in which case FC1 may act like RH 9 and take 2X your real RAM (no matter how much you have) for /swap. Very annoying habit, since -- let's face it, if you have 1 or 2GB of RAM, you really don't need 2 or 4GB of swap space. But that's RedHat and its ilk for you.
 
Old 06-04-2004, 05:06 PM   #33
youngstorm
Member
 
Registered: May 2003
Location: USA
Distribution: Fedora 21, RHEL 5,6&7, Windoze 7
Posts: 235

Rep: Reputation: 31
Glad to hear it Paul. and we're glad to
help you.

the / of your linux install will be either
/dev/hdb2 or /dev/hdb3

you'll have to mount one
and if it does not have the "etc"
directory, you'll have to unmount
it and mount the other. Don't worry,
it's actually quiet easy. Here's the steps:

1. boot using cd rescue
2. at prompt type "mkdir tmpdir". this
will create amount point for us.
3. type "mount /dev/hdb2 tmpdir". This
will actually mount the partition.
4. type "ll tmpdir" the 'll' is lowwer case 'LL'.
this will give you a directory listing.
If you see around 10 or 12 directories
including "etc" that is the correct one.
If "etc" is not there go to the next one by:
1. type "umount tmpdir" this is NOT a typeo
It is umount not unmount.
2. type "mount /dev/hdb3 tmpdir".
3. type "ll tmpdir" look for the directory "etc"

If you still dont see it let me know.

Assuming you have found the "etc" directory,
type "pico tmpdir/etc/sysconfig/firstboot". this will
open the file "firstboot" in the pico text editor.
now change YES to NO and save it and reboot and
see if that did it.

good luck
Michael
 
Old 06-04-2004, 05:15 PM   #34
Paul Fox
Member
 
Registered: May 2004
Location: Edmond WV
Distribution: SuSE 9.2 Professional, Fedora Core 1, Knoppix 3.4
Posts: 49

Original Poster
Rep: Reputation: 15
Motub,

First thing...cfdisk didn't work but I may have typed it incorrectly. I *think* I forgot to put the space after cfdisk as in cfdisk /dev/hdb.

As for the partitioning, I used Partition Magic to create those new partitions on my old "D" drive as that seemed to be the consensus. If that wasn't the correct thing to do, could that be causing my problems?

Youngstorm,

Heading off to try this now. I do have one question for you though...you keep referring to /...is "/" another term for root?

I'll be back after I do this stuff.

Regards,
Paul
 
Old 06-04-2004, 05:35 PM   #35
Paul Fox
Member
 
Registered: May 2004
Location: Edmond WV
Distribution: SuSE 9.2 Professional, Fedora Core 1, Knoppix 3.4
Posts: 49

Original Poster
Rep: Reputation: 15
Motub,

I tried this:

-/bin/sh-2.05b#cfdisk /dev/hdb

I got "command not found"

So I tried (just in case):

-/bin/sh-2.05b#cfdisk /dev/hdb1

I got "command not found"

Evidently, I'm making a mistake somewhere or something doesn't exist where it should.

Youngstorm,

I was able to perform the "mkdir tmpdir" with no problems (or at least none that I was able to see...I didn't get any error or "command not found")

I was apparently able to "mount /dev/hdb2 tmpdir" and "mount /dev/hdb3 tmpdir"as well (again, I didn't see an error or get command not found)

However, when I then did "ll tmpdir" I did receive "command not found". Again, is there something I'm missing?

While you guys are thinking about this, I'm going to go attempt these again just to make sure I'm formatting the commands correctly.

Regards,
Paul
 
Old 06-04-2004, 05:42 PM   #36
youngstorm
Member
 
Registered: May 2003
Location: USA
Distribution: Fedora 21, RHEL 5,6&7, Windoze 7
Posts: 235

Rep: Reputation: 31
Paul
there are two directories call "root"
'/' is the root directory but also "/root"
is called root directory. "/root" is the
root user's home directory. "/" is the
primary directory for all other directories.
ALL other directories or somewhere inside it
assuming, of course" that they are mounted.
Ex. "/root", "/etc", and "/home" are directories
inside '/'.

be sure not to confuse the two.
Michael
 
Old 06-04-2004, 05:44 PM   #37
youngstorm
Member
 
Registered: May 2003
Location: USA
Distribution: Fedora 21, RHEL 5,6&7, Windoze 7
Posts: 235

Rep: Reputation: 31
instead of "ll" do "ls -l"
should work and does the same thing.
that is "LS -L" in lowwer case.
 
Old 06-04-2004, 05:51 PM   #38
Paul Fox
Member
 
Registered: May 2004
Location: Edmond WV
Distribution: SuSE 9.2 Professional, Fedora Core 1, Knoppix 3.4
Posts: 49

Original Poster
Rep: Reputation: 15
Youngstorm,

I just want to develop an understanding of what means what as far as "root" goes. As I'm sure you're aware, this is a huge learning curve for people used to Windows, but I'm committed to learn.

As far as the "ll" "ls -l" commands are concerned...are there names for the actions associated with these commands (ex, "cd" in Win/DOS is Change Directory")

I presume that both of these commands are telling the system to "display the contents of /", am I correct?

Regards,
Paul
 
Old 06-04-2004, 05:55 PM   #39
motub
Senior Member
 
Registered: Sep 2003
Location: The Netherlands
Distribution: Gentoo (main); SuSE 9.3 (fallback)
Posts: 1,607

Rep: Reputation: 46
I can't believe that Fedora doesn't install cfdisk. Obviously /sbin or /usr/sbin must be available in some way, or poor Paul couldn't use any commands at all.

I can't believe it. I am so increasingly anti-RedHat with every passing moment....
 
Old 06-04-2004, 06:08 PM   #40
Paul Fox
Member
 
Registered: May 2004
Location: Edmond WV
Distribution: SuSE 9.2 Professional, Fedora Core 1, Knoppix 3.4
Posts: 49

Original Poster
Rep: Reputation: 15
Youngstorm,

Ok..."ls -l" worked like a charm. I was able to locate /etc on hdb3. However, when I typed "pico tmpdir/etc/sysconfig/firstboot", all that was located in the editor was "new file"...nothing else.

An uneducated guess on my part would be that the "firstboot" file at that particular location doesn't exist?!?!?!

Could this be something that I didn't know about during installation?

Motub,

Is there a listing of exactly what is included in the various distributions, i.e. Fedora Core 1? I'll starting looking around for this and see if it's something I can get around.
 
Old 06-04-2004, 06:09 PM   #41
motub
Senior Member
 
Registered: Sep 2003
Location: The Netherlands
Distribution: Gentoo (main); SuSE 9.3 (fallback)
Posts: 1,607

Rep: Reputation: 46
ls is list, in DOS terms.

Didn't I tell you to type man <command_name> for anything you didn't understand ?

Quote:
LS(1) LS(1)

NAME
ls, dir, vdir - list directory contents

SYNOPSIS
ls [options] [file...]
dir [file...]
vdir [file...]

POSIX options: [-CFRacdilqrtu1] [--]

GNU options (shortest form): [-1abcdfghiklmnopqrstuvwxABCDFGHLNQRSUX] [-w cols] [-T cols] [-I pattern] [--full-time]
[--show-control-chars] [--block-size=size] [--format={long,verbose,commas,across,vertical,single-column}]
[--sort={none,time,size,extension}] [--time={atime,access,use,ctime,status}] [--color[={none,auto,always}]] [--help] [--ver-
sion] [--]

DESCRIPTION
The program ls lists first its non-directory file arguments, and then for each directory argument all listable files contained
within that directory. If no non-option arguments are present, a default argument `.' (the current directory) is assumed. The -d option causes directories to be treated as non-directory arguments. A file is listable when either its name does not start with `.', or the -a option is given.

Each of the lists of files (that of non-directory files, and for each directory the list of files inside) is sorted separately
according to the collating sequence in the current locale. When the -l option is given, each list is preceded by a summary line giving the total size of all files in the list, measured in semi-kilobytes (512 B).

The output is to stdout, one entry per line, unless multicolumn output is requested by the -C option. However, for output to a terminal, it is undefined whether the output will be single-column or multi-column. The options -1 and -C can be used to force single-column and multi-column output, respectively.
ll is actually a shell alias, as far as I know-- which we don't have to go into beyond saying that you can set a command that is long to type to an alias that is shorter for you. Meaning that for instance I have an alias that sets the command cd /usr/src/linux to the word "kernel" so that if I type the word kernel, the command will be executed and I don't have to type all that to get to my kernel-source directory.

On my system, which I believe to be standard in this respect, "ll" is an alias for "ls --color -l -h", which is to say, ls with the --color, -l, and -h switches, which are documented in the man page above.

In any case, there is no "ll" command, as far as I can see.
 
Old 06-04-2004, 06:11 PM   #42
motub
Senior Member
 
Registered: Sep 2003
Location: The Netherlands
Distribution: Gentoo (main); SuSE 9.3 (fallback)
Posts: 1,607

Rep: Reputation: 46
Did you mount /dev/hdb3 before trying to open a file from it?

Also, you seem to have missed a slash... once mounted, you'd want to type pico /tmpdir/etc/sysconfig/firstboot, unless you had cd-ed to that directory, in which case you could just type pico firstboot.
 
Old 06-04-2004, 06:21 PM   #43
Paul Fox
Member
 
Registered: May 2004
Location: Edmond WV
Distribution: SuSE 9.2 Professional, Fedora Core 1, Knoppix 3.4
Posts: 49

Original Poster
Rep: Reputation: 15
Motub,

Sorry 'bout the "man" command (blushing now). My head is still swimming from trying to get this computer to accept that it has Linux and I forget other resources. I'll endevour to do better

As for your other question...I did mount the tmpdir, which is where I was able to locate /etc but I didn't put the "/" before tmpdir. I head on over and try that now.

Regards,
Paul
 
Old 06-04-2004, 06:55 PM   #44
Paul Fox
Member
 
Registered: May 2004
Location: Edmond WV
Distribution: SuSE 9.2 Professional, Fedora Core 1, Knoppix 3.4
Posts: 49

Original Poster
Rep: Reputation: 15
Motub,

I'm now starting to think that there are problems with the installation.

Here's what I did:

mkdir tmpdir
mount /dev/hdb3 tmpdir
ls -l tmpdir

From here, I can see that there is a directory (is this what these are called?) in tmpdir that is /etc

from there I did:

pico /tmpdir/etc/sysconfig/firstboot

and I got "new file" in Pico. Again, I presume that this means that "firstboot" doesn't exist and the OS is giving me the option to make "firstboot". Am I correct?

Is there a way to look inside /etc to see what's in there? I tried a couple of things, but all I got was "not a directory"

Also, just for fun...I tried "man ls" and got man command not found.

Now, before we go too much further with this, I've ordered SuSE 9.1 Personal Edition but it's apparently on backorder as it's been over a week and I've heard nothing from them nor have I received the order. Should I wait to see if that gets here...should I re-install Fedora Core 1...what should I do. I don't like to giv up on things but I fear that I'm taking up too much of everyone's time with this. I don't mind to keep trying but that will just lead to me posting more questions to you guys here

I'll be back shortly.

Regards,
Paul
 
Old 06-04-2004, 07:55 PM   #45
motub
Senior Member
 
Registered: Sep 2003
Location: The Netherlands
Distribution: Gentoo (main); SuSE 9.3 (fallback)
Posts: 1,607

Rep: Reputation: 46
Hello, this is a help forum, you don't have a time limit on how much help you can get!

If you want to continue to try to get FC 1 installed while you wait for SuSE to show up, who am I to say don't do that? You can only learn more, and that's never bad.

As to the current issue, I can see why you might think the install was borked, but it might not be-- it's just not complete. In FC there's a wizard thingy, but every distro basically installs the base system (with extras, sometimes, but not always), and then reboots at least once and says things like "please configure your timezone, and make sure that the keyboard and printer settings are correct, and configure your bootloader and X-- oh and don't forget to set a root password and make a user." Where these things occur in Mandrake's boot process is slightly different than where they occur in SuSE's or FC's or Slackware's boot processes, but they are pretty much the last thing that will happen before the system is not only "installed", but the last thing that will happen before the system considers itself installed, which is really what's at issue here.

As far as the system is concerned, you're trying to use it before the install has completed, and there is no OS where that doesn't end in some tears of frustration.

In terms of how to see what's in /etc/, just cd to the directory and type ls, or ll (mind like a sieve, I see ) to list the contents of the directory.

But what I'm thinking is that you might really need to chroot this filetree-- you can look at man chroot whenever you like, I'll tell you now that the chroot command makes the root filetree ("/") rooted at whatever directory you like (although it's better for obvious reasons to chroot an actual / filetree and not /home, for example, as there's no /etc/ or /usr/bin or /sbin/ in /home, so nothing much would work if you did that.

But let's make this easy on you.... Can you download and burn a copy of Knoppix? It will run completely from CD, you'll have a full Linux desktop and it would be much easier and more pleasant for you and us to try to solve this issue if we could mount the HDD partitions from an attractive desktop and you could post the results in Mozilla from that same desktop instead of having to boot back and forth.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Fedora Core 4 newbie problem EvilAngel Fedora - Installation 8 11-24-2005 03:07 PM
Uninstalling Fedora Core 3 : Newbie darkknight1984 Fedora 1 02-12-2005 11:17 AM
SQL Server on Fedora Core ! Newbie Help nitinku5021a Linux - Software 3 07-04-2004 07:47 AM
2 Newbie questions about Fedora Core 2 hahler2 Fedora 6 06-16-2004 03:56 PM
Fedora core 1 newbie help please bumble Fedora 0 06-01-2004 04:27 PM


All times are GMT -5. The time now is 12:57 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration