View previous topic :: View next topic |
Author |
Message |
The Dark Tux's lil' helper
Joined: 01 Feb 2003 Posts: 126 Location: BACK ON PLANET GENTOO
|
Posted: Sat Feb 22, 2003 6:11 pm Post subject: Perfect kernel config no error but runscript |
|
|
Hello Dude's and Gals.
I was checking https://forums.gentoo.org/viewtopic.php?t=36072&highlight=runscript and have checked https://forums.gentoo.org/viewtopic.php?t=25284&highlight=runscript+sh
but still can't manage to solve my runscript problem.
I get the following errors.
Code: | mounting local filesystems
6 times /sbin/runscripts.sh line 1:cut :command not found
1 time /sbin/runscripts.sh line 18 : : integer expression expected
updating enviroment
/sbin/rc-envupdate.sh: line 1 :id command not found
/sbin.rc-envupdate.sh : line 10:[: -ne unary operator expected
|
This is how my fstab looks like
Code: | # /etc/fstab: static file system information.
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/fstab,v 1.10 2002/11/18 19:39:22 azarah Exp $
#
# noatime turns of atimes for increased performance (atimes normally aren't
# needed; notail increases performance of ReiserFS (at the expense of storage
# efficiency). It's safe to drop the noatime options if you want and to
# switch between notail and tail freely.
# <fs> <mountpoint> <type> <opts> <dump/pass>
# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/hda2 /boot ext3 noauto,noatime 1 1
/dev/hda5 / ext3 rw,noatime 0 0
/dev/hda3 none swap sw 0 0
/dev/hda6 /home reiserfs rw,notail,noatime 0 0
/dev/hda7 /usr reiserfs rw,notail,noatime 0 0
/dev/hda8 /usr/local reiserfs rw,notail,noatime 0 0
/dev/hda9 /opt reiserfs rw,notail,noatime 0 0
/dev/hda10 /var reiserfs rw,notail,noatime 0 0
/dev/hda11 /tmp reiserfs rw,notail,noatime 0 0
/dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,ro 0 0
proc /proc proc defaults 0 0
# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink). Adding the following
# line to /etc/fstab should take care of this:
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will use almost no
# memory if not populated with files)
tmpfs /dev/shm tmpfs defaults 0 0
|
Maybe someone could explain to me how to fix this problem.
And please don't tell me i have to install gentoo _________________ -=The Dark=-
Linux Rules
i686 Pentium III (Coppermine) GenuineIntel
http://www.gentoo.org |
|
Back to top |
|
|
C_Hird Tux's lil' helper
Joined: 17 Feb 2003 Posts: 78 Location: Ontario Canada
|
Posted: Sat Feb 22, 2003 6:29 pm Post subject: Same partition |
|
|
Hi I am a n00b so this may be way off bat. Or it might be the solution.
I have seen by reading most of the threads for the last 7 days (I have to do something while the compiles etc happen) I noticed a thread about having /usr /var on the partition (may also have mentioned needing to be in the first for the scripts to be located??
Hope this helps.
Chris.. _________________ trying Gentoo, running RedHat 8.0, removed SuSe 7.2 argh! |
|
Back to top |
|
|
The Dark Tux's lil' helper
Joined: 01 Feb 2003 Posts: 126 Location: BACK ON PLANET GENTOO
|
Posted: Sat Feb 22, 2003 6:52 pm Post subject: Re: Same partition |
|
|
C_Hird wrote: | Hi I am a n00b so this may be way off bat. Or it might be the solution.
I have seen by reading most of the threads for the last 7 days (I have to do something while the compiles etc happen) I noticed a thread about having /usr /var on the partition (may also have mentioned needing to be in the first for the scripts to be located??
Hope this helps.
Chris.. |
So /usr and /var should be on one partition ...??? _________________ -=The Dark=-
Linux Rules
i686 Pentium III (Coppermine) GenuineIntel
http://www.gentoo.org |
|
Back to top |
|
|
fifo Guru
Joined: 14 Jan 2003 Posts: 437
|
Posted: Sat Feb 22, 2003 7:29 pm Post subject: |
|
|
No, they can be on separate partitions if you want.
To take a wild stab at what the problem might be, did you remember to mount those partitions before chrooting and installing the system (under /mnt/gentoo/usr, /mnt/gentoo/var, etc.)? After you logon, are there any files in /usr? |
|
Back to top |
|
|
C_Hird Tux's lil' helper
Joined: 17 Feb 2003 Posts: 78 Location: Ontario Canada
|
Posted: Sat Feb 22, 2003 7:42 pm Post subject: Maybe? |
|
|
Here is the thread i was looking at. It does have scsi drives which may be the difference but maybe not???
https://forums.gentoo.org/viewtopic.php?t=34100
Chris _________________ trying Gentoo, running RedHat 8.0, removed SuSe 7.2 argh! |
|
Back to top |
|
|
The Dark Tux's lil' helper
Joined: 01 Feb 2003 Posts: 126 Location: BACK ON PLANET GENTOO
|
Posted: Sun Feb 23, 2003 2:52 pm Post subject: |
|
|
fifo wrote: | No, they can be on separate partitions if you want.
To take a wild stab at what the problem might be, did you remember to mount those partitions before chrooting and installing the system (under /mnt/gentoo/usr, /mnt/gentoo/var, etc.)? After you logon, are there any files in /usr? |
I have been snooping around in my memory and as i recall i had made /mnt/gentoo/usr etc etc before i chrooted into the system...
When i logon my /usr directory contains a local directory but a ls -l in user directory will come up with only local.
could it be grub related..??? _________________ -=The Dark=-
Linux Rules
i686 Pentium III (Coppermine) GenuineIntel
http://www.gentoo.org |
|
Back to top |
|
|
fifo Guru
Joined: 14 Jan 2003 Posts: 437
|
Posted: Sun Feb 23, 2003 3:03 pm Post subject: |
|
|
Try "umount /usr/local && umount /usr", and then "ls /usr". If that shows up some files, then it means they've been installed in the / partition rather than /usr. |
|
Back to top |
|
|
The Dark Tux's lil' helper
Joined: 01 Feb 2003 Posts: 126 Location: BACK ON PLANET GENTOO
|
Posted: Sun Feb 23, 2003 3:36 pm Post subject: |
|
|
fifo wrote: | Try "umount /usr/local && umount /usr", and then "ls /usr". If that shows up some files, then it means they've been installed in the / partition rather than /usr. |
I can't umount then i get an busy error.
But i think i have mad a partition mistake.
Check this out.
I have
hda1 = PRIMARY is NTFS
hda2 = PRIMARY is /boot
hda3 =PRIMARY is swap
hda 5 =LOGICAL is /
hda 6 =LOGICAL is /home
hda 7 =LOGICAL is /usr
hda 8 =LOGICAL is /usr/local
hda 9 =LOGICAL is /opt
hda10=LOGICAL is /var
hda11=LOGICAL is /tmp
So you see my / and /home /usr are all logical drives.
So i think that /home and /usr should be primary drives so that they could be seen or something...
Let me know what you think... _________________ -=The Dark=-
Linux Rules
i686 Pentium III (Coppermine) GenuineIntel
http://www.gentoo.org |
|
Back to top |
|
|
fifo Guru
Joined: 14 Jan 2003 Posts: 437
|
Posted: Sun Feb 23, 2003 5:28 pm Post subject: |
|
|
I don't think it should matter that they're logical partitions. Try booting from the livecd, and do
Code: |
# mkdir /mnt/gentoo
# mount -t ext3 /dev/hda5 /mnt/gentoo
# ls /mnt/gentoo/usr
# mount -t reiserfs /dev/hda7 /mnt/gentoo/usr
# ls /mnt/gentoo/usr
|
The first ls should show an empty directory, and the second should have lots of files. |
|
Back to top |
|
|
The Dark Tux's lil' helper
Joined: 01 Feb 2003 Posts: 126 Location: BACK ON PLANET GENTOO
|
Posted: Mon Feb 24, 2003 5:22 am Post subject: |
|
|
sorry but i started over again , but still confused over this PRIMARY and LOGICAL Thing.
Was reading this And i also found this over here
But it's not that clear to me at all
Because i'm trying to dual boot.
But can only have 4 PRIMARY partitions.
But if i do make 4 PRIMARY partitions then i can't make any other LOGICAL partitions , because cfdisk then says unused..(hmmmm).
So i was reading that your boot and swap partition should be a PRIMARY
In my case that leaves me with the choice of having /home /usr on LOGICAL partitions wich is exactly where i'm at now (but is not working).
Some how when i untar my stage file it does not untar correctly.
Strange situation.
But i'm going to make just 3 partitions /boot /home and /usr, and see if it wil work. _________________ -=The Dark=-
Linux Rules
i686 Pentium III (Coppermine) GenuineIntel
http://www.gentoo.org |
|
Back to top |
|
|
|