Re: [expert] Adding a disk, insmod placement, moving /var

2000-11-20 Thread Alexander Skwar

So sprach Ran Hooper am Sat, Nov 18, 2000 at 04:04:49PM -0800:
 the aic7xxx it loads fine. What am I doing wrong here?

run depmod -a

Alexander Skwar
-- 
How to quote:   http://learn.to/quote (german) http://quote.6x.to (english)
Homepage:   http://www.digitalprojects.com   |   http://www.dp.ath.cx
GnuPG ID:   59F6A6F5  FP: DC8AFA56C492EE6058D5 BAA62EEE3AD559F6A6F5
ICQ:7328191 Uptime: 1 day 8 hours 7 minutes



Keep in touch with http://mandrakeforum.com: 
Subscribe the "[EMAIL PROTECTED]" mailing list.



RE: [expert] Adding a disk, insmod placement, moving /var

2000-11-18 Thread Ran Hooper

About adding that scsi adapter:

insmod aic7xxx
and
modprobe aic7xxx
works fine. I get an error message when I run modprobe that says 'Note:
conf.modules is more recent than modules.dep' but if I follow modprobe with
the aic7xxx it loads fine. What am I doing wrong here?

I added line 4 to my conf.modules and it never loads. What am I missing
here? I tried renaming my conf.modules to modules.conf with no results. I
get the feeling that my bootup process isn't even trying to load modules,
although there is a line in there about adding my ethernet card and that
works well enough.

So, what I want to accomplish is almost there, how do I finish it? I can't
just insmod it since I want to move /var to one of the new drives :(




I would do it a little different, but your approach wasn't wrong though.

 1) turn off computer
 2) install hardware
 3) turn on
 4) add alias scsi_hostadapter aic7xxx to /etc/modules.conf
 5) run cfdisk/fdisk to partition the drive
 6) I'd choose reiserfs as the fs for the new drive, but that's up to you
 7) mkreiserfs /dev/sda1 (or mke2fs /dev/sda1)
 8) add /dev/sda1 /var reiserfs defaults 0 0 to /etc/fstab
 9) mount (-t reiserfs) /dev/sda1 /mnt/newvar
10) tar cfvsp - -C /var | tar xfvsp - -C /mnt/newvar
(now you have a copy of /var in /mnt)
11) mv /var /varold
12) umount /mnv/newvar
13) mount /var
14) rm -rf /varold


 6) Run diskdrake, mount the drive, hopefully it takes care of fstab yes?




Keep in touch with http://mandrakeforum.com: 
Subscribe the "[EMAIL PROTECTED]" mailing list.



Re: [expert] Adding a disk, insmod placement, moving /var

2000-11-18 Thread BillK

Run "depmod -av " and look at the results to see that the modules you
are interested in have been processed.  "man depmod or insmod or
modprobe" for more info.  Most distro's run depmod automaticly on
bootup.  Also, get rid of the module file you created - sometimes the
wrong one may get picked up, causing grief if they are not the same.

BillK

 works fine. I get an error message when I run modprobe that says 'Note:
 conf.modules is more recent than modules.dep' but if I follow modprobe with
 the aic7xxx it loads fine. What am I doing wrong here?




Keep in touch with http://mandrakeforum.com: 
Subscribe the "[EMAIL PROTECTED]" mailing list.



RE: [expert] Adding a disk, insmod placement, moving /var

2000-11-09 Thread Ran Hooper

Cool, now where do I put insmod on boot so that I can get /var mounted
before any of the apps want to use it?


Regards,

Ran Hooper
[EMAIL PROTECTED]




Keep in touch with http://mandrakeforum.com: 
Subscribe the "[EMAIL PROTECTED]" mailing list.



RE: [expert] Adding a disk, insmod placement, moving /var

2000-11-08 Thread Ran Hooper

diskdrake is the gui disk partitioning program you see when you first
install mandrake. It can also be run from x.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Alexander Skwar
Sent: Wednesday, November 08, 2000 11:20 PM
To: [EMAIL PROTECTED]
Subject: Re: [expert] Adding a disk, insmod placement, moving /var


So sprach Ran Hooper am Wed, Nov 08, 2000 at 09:32:10PM -0800:
 4) tar czpf /vardata.tar.gz /var

-z isn't necesssary if you have enough freespace in /

I would do it a little different, but your approach wasn't wrong though.

 1) turn off computer
 2) install hardware
 3) turn on
 4) add alias scsi_hostadapter aic7xxx to /etc/modules.conf
 5) run cfdisk/fdisk to partition the drive
 6) I'd choose reiserfs as the fs for the new drive, but that's up to you
 7) mkreiserfs /dev/sda1 (or mke2fs /dev/sda1)
 8) add /dev/sda1 /var reiserfs defaults 0 0 to /etc/fstab
 9) mount (-t reiserfs) /dev/sda1 /mnt/newvar
10) tar cfvsp - -C /var | tar xfvsp - -C /mnt/newvar
(now you have a copy of /var in /mnt)
11) mv /var /varold
12) umount /mnv/newvar
13) mount /var
14) rm -rf /varold


 6) Run diskdrake, mount the drive, hopefully it takes care of fstab yes?

What does diskdrake do?

Alexander Skwar
--
How to quote:   http://learn.to/quote (german) http://quote.6x.to (english)
Homepage:   http://www.digitalprojects.com  |  http://www.dp.ath.cx
GnuPG ID:   4E35467E  FP: 93367E5B4AB777B42065533F456FF17C4E35467E
ICQ:7328191





Keep in touch with http://mandrakeforum.com: 
Subscribe the "[EMAIL PROTECTED]" mailing list.