Windows first Data second FreeBSD third (still primary) Linux (extended) ... more extended partitions here - mountable by Linux, FreeBSDNow we should make a rough list of our ideal partition table on a piece of paper or something for reference.
/dev/hda1 C: (hda_=disk 1 ___1=partition 1) /dev/hdb1 D: (hdb_=disk 2 ___1=partition 1) /dev/hda2 E: (hda_=disk 1 ___2=partition 2) /dev/hdb2 F: (hdb_=disk 2 ___2=partition 2) /dev/hda3 G: (hda_=disk 1 ___3=partition 3) /dev/hdb3 H: (hdb_=disk 2 ___3=partition 3)
|
About Windows and your MBR: The reason why we install Windows first is that it does not cooperate with other operating systems. The Windows installer will overwrite your Master Boot Record(MBR) stored in the first track of the hard disk. The MBR contains information to point a booting computer system to a particular partition of the disk, where any operating system may be installed. The Windows installer will overwrite this record to point to only itself. This effect can potentially be reversed by using the Redhat installer in linux rescue mode. You boot to the cd, type: linux rescueand then it should hopefully find your previously installed Redhat system. My guess is it just checks every partition for signs of a filesystem. Once it finds your system, it will exit to a shell and give a command prompt. You are to type: chroot /mnt/sysimage /sbin/lilo rebootCheck the output of lilo to make sure that the process completed without errors. When lilo is executed, it creates a new MBR and writes it onto the first track of the disk for you. The system will reboot, and the first thing you should see is a lilo screen, with as many options as you supplied to it in /etc/lilo.conf. Remember to add entries for Windows and FreeBSD in lilo.conf. You will have to manually add the partitions from which to boot, but this should not be a problem if you have kept a record of your partition table. In linux, partitions are referenced by /dev/hdYX where X is the letter of the ordinal number of the partition(1=a, 2=b, 3=c...) and Y is the drive letter(a for first IDE master, b for slave, etc.) Try the command 'df' in Linux to display your partitions. |
- linux kernel .config
- NVIDIA 3123 requires kernel-2.4.13
nvidia driver 3123+kernel2.4.13 == stable
{3123,4191}+2.4.18 = ??? - had to change XF86Config nv to nvidia
- /etc/lilo.conf
- /etc/fstab
- /etc/sysconfig/network - - change hostname at startup
- /etc/X11/XF86Config-4
copy kernel config to linux src dir, then...
|
Linux custom kernel compilation instructions: ## Here is a more detailed tutorial from kernelnewbies.org cd /usr/src/linux ## this directory can also be in your user space, in my case /home/jim/linux make mrproper make xconfig ## or make menuconfig or make config - configure your options here make dep bzImage modules su ## root commands in orange make modules_install cp arch/i386/boot/bzImage /boot/vmlinuz-2.4.XXX ## replace XXX with your custom version ID string cp System.map /boot/System.map-2.4.XXX pico /etc/lilo.conf /sbin/lilo |
linux problems on fresh install:
------------------------------------------------------
- whats with the new xmms that has song select latency and no volume control?? 1.2.5??
tried copying 1.2.4 from the old drive to /usr/bin - launches, but freezes after that.
WILL NOT PLAY. what happened?
- /etc/init.d/sshd
sshd not accepting?? why not? worked in the last redhat
sshd wont accept connections.
it just refuses them......
Now it'll prompt me for a password, but won't accept it(even though its correct!)
also it doesnt start on boot.... i thought i told the rh installer to do that
to make sshd work:
download newest release, openssl.org
install it
groupadd sshd
useradd -g sshd sshd
For security reasons? it requires its own user. Make sure you cant log in as sshd.
Installer hangs in the probe phase after kernel config: usb0: SMM not responding, resetting... Googling on that line produces a bunch of installer output, but nobody seems to have ever frozen on that part of the process. The same thing happens on the FreeBSD mini install. Is this a USB issue? is usb0 the one built into the motherboard? OK, in BIOS settings, turn off the secondary USB ports using option USB_function?? - primary, both, or none. choose primary. The secondary usb ports freeze the installer, not eh primary. i wonder why. Installer process configures X fairly well. once installed,
|
FreeBSD custom kernel compilation instructions: cd /usr/src ##(as root): ee sys/i386/conf/PIKKON ## adding the following options here     option USER_LDT ### for nvidia     option EXT2FS ### to mount linux partitions     option PNPBIOS ### for sound?     device pcm ### for sound device make buildkernel KERNCONF=PIKKON make installkernel KERNCONF=PIKKON |
- bsd kernel config PIKKON - /etc/fstab - /etc/X11/XF86Config - /etc/sysconfig/network - - change hostname at startup cvsup stable-supfile # from Dan K. /usr/libexec/locate.updatedb run dhclient to get dhcp up if its not ifconfig to work with interfaces /bin/sh rc,network start $SHELL csh - rehash # setup radon.slashnet.org #linux irc.freebsdhackers.net #freebsd Be wary of the Plug-N-Play BIOS functionality - there is a BIOS option of PlugNPlayOS, which forwards control to the operating system. In FreeBSD, there is a PNPBIOS option, sending control back to the BIOS. Make sure both options have the same state, either both on or both off.
- custom scripts /home/jim/bin - /usr/local/share/blackbox/ menu - .blackboxrc - .emacs - .bashrc - .blackboxrc - .toprc - .xinitrc - browser bookmarks - get all your paths straight(and other ENV vars)