- Sep 30, 2001
- 12,684
- 2
- 81
Allright here is the deal, I have recently started exploring the Linux side of things. I first started off with Mandrake 9.1. Had it installed for a week or two...but had problems with 3D Acceleration and sound. So I installed RedHat 9. I liked Redhat alot, everything worked and I was actually able to accomplish some school work on it, Java programming. I started looking around at some other distros. and came upon Gentoo. I really like the idea of it and how easy it seems to upgrade and install software. So I took the plunge the downloaded the Live1 CD.
I decided to do a Stage 3 install without GPR just to get the feel for the install before I started a Stage 1 or 2 install to take advantage of all the optimizations possible. I followed all of the installation instructions up until the bootloader section. Everything had worked great, everything had been configured as much as I had wanted and things seem to be nice. I am I bit weary about Bootloaders because I have never had a good encounter with them. I have always tried to use LILO because I like the simplicity of it.
What follows is a bunch of information that pertains to this...
/etc/lilo.conf
lba32
boot = /dev/sda
map = /boot/.map
install = /boot/boot-menu.b
menu-scheme=Wb
prompt
timeout=150
delay = 50
vga = normal
image = /boot/kernel-2.4.20-gentoo-r7
initrd = /boot/initrd-2.4.20-gentoo-r7
root = /dev/sdb3
label = Gentoo
read-only
append "root=/dev/sdb3 init=/linuxrc"
/etc/fstab
# /etc/fstab: static file system information.
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/fstab,v 1.13 2003/07/17 19:55:18 azarah Exp $
# <fs> <mountpoint> <type> <opts> <dump/pass>
/dev/sdb3 /boot reiserfs noauto,noatime,notail 1 1
/dev/sdb1 / ext3 noatime 0 0
/dev/sdb2 none swap sw 0 0
/dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,ro 0 0
/dev/floppy/fd0 /mnt/floppy fat noauto 0 0
proc /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
Partition Info on my 4 Hard Drives: 2 ide and 2 scsi on a AIC7899 controller.
#for some reason it doesn't detect this drive correctly...its a Maxtor 60gb with one partition with NTFS filesystem that takes the whole drive. I know it works, cause I use it in Windows, in fact I am using it right now.
Disk /dev/hda: 520 MB, 520783872 bytes
255 heads, 63 sectors/track, 63 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/hdb: 40.9 GB, 40981118976 bytes
255 heads, 63 sectors/track, 4982 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hdb1 1 2611 20972826 c Win95 FAT32 (LBA)
/dev/hdb2 2612 4982 19045057+ c Win95 FAT32 (LBA)
#This disk is my primary windows Disk. sda1 has my OS on it and sda2 has all my programs on it.
Disk /dev/sda: 18.3 GB, 18389272576 bytes
255 heads, 63 sectors/track, 2235 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 653 5245191 7 HPFS/NTFS
/dev/sda2 654 2235 12707415 7 HPFS/NTFS
#My linux hardrive.
Disk /dev/sdb: 18.3 GB, 18389272576 bytes
255 heads, 63 sectors/track, 2235 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 13 104391 83 Linux
/dev/sdb2 14 107 755055 82 Linux swap
/dev/sdb3 108 2235 17093160 83 Linux
My Rig Specs:
MSI Master K7-S
Athlon XP 2000+
(2x) Maxtor Atlas III 10k 18.6gb U160 Scsi Drives
(1x) Maxtor 60gb ATA100
(1x) Maxtor 40gb ATA100
Lite-On dvd-rom and cd-rw
Radeon 8500DV
Onboard AC'97 Sound
Linksys LNE100tx v4 Network Card
My current Bootloader for windows is installed on sda, my first SCSI drive. (I believe....is there any way to check)
I want to get LILO working for both of my operating systems...what do I need to change in my lilo.conf file, if anything to get this to work and where should I install LILO too? This is my biggest concern, I have yet to still completely understand MBR and bootloaders enough to be comfortable doing this manually.
Another problem...but less severe has to do with fstab. In RH9 I had fstab mount my two FAT32 partitions in /mnt/files /mnt/files2 accordingly...except that only root had read write and execute permissions on them. I tried doing chmod -R a=wrx /mnt/files and the same for ../files2 but it wouldnt let me..is there any way to specify who has permissions on the mounts through fstab?
Anyone that has the time and patience to read through this, I appreciate it greatly, and any help would be gladly accepted.
Thank you very much in advance!
:beer:
I decided to do a Stage 3 install without GPR just to get the feel for the install before I started a Stage 1 or 2 install to take advantage of all the optimizations possible. I followed all of the installation instructions up until the bootloader section. Everything had worked great, everything had been configured as much as I had wanted and things seem to be nice. I am I bit weary about Bootloaders because I have never had a good encounter with them. I have always tried to use LILO because I like the simplicity of it.
What follows is a bunch of information that pertains to this...
/etc/lilo.conf
lba32
boot = /dev/sda
map = /boot/.map
install = /boot/boot-menu.b
menu-scheme=Wb
prompt
timeout=150
delay = 50
vga = normal
image = /boot/kernel-2.4.20-gentoo-r7
initrd = /boot/initrd-2.4.20-gentoo-r7
root = /dev/sdb3
label = Gentoo
read-only
append "root=/dev/sdb3 init=/linuxrc"
/etc/fstab
# /etc/fstab: static file system information.
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/fstab,v 1.13 2003/07/17 19:55:18 azarah Exp $
# <fs> <mountpoint> <type> <opts> <dump/pass>
/dev/sdb3 /boot reiserfs noauto,noatime,notail 1 1
/dev/sdb1 / ext3 noatime 0 0
/dev/sdb2 none swap sw 0 0
/dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,ro 0 0
/dev/floppy/fd0 /mnt/floppy fat noauto 0 0
proc /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
Partition Info on my 4 Hard Drives: 2 ide and 2 scsi on a AIC7899 controller.
#for some reason it doesn't detect this drive correctly...its a Maxtor 60gb with one partition with NTFS filesystem that takes the whole drive. I know it works, cause I use it in Windows, in fact I am using it right now.
Disk /dev/hda: 520 MB, 520783872 bytes
255 heads, 63 sectors/track, 63 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/hdb: 40.9 GB, 40981118976 bytes
255 heads, 63 sectors/track, 4982 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hdb1 1 2611 20972826 c Win95 FAT32 (LBA)
/dev/hdb2 2612 4982 19045057+ c Win95 FAT32 (LBA)
#This disk is my primary windows Disk. sda1 has my OS on it and sda2 has all my programs on it.
Disk /dev/sda: 18.3 GB, 18389272576 bytes
255 heads, 63 sectors/track, 2235 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 653 5245191 7 HPFS/NTFS
/dev/sda2 654 2235 12707415 7 HPFS/NTFS
#My linux hardrive.
Disk /dev/sdb: 18.3 GB, 18389272576 bytes
255 heads, 63 sectors/track, 2235 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 13 104391 83 Linux
/dev/sdb2 14 107 755055 82 Linux swap
/dev/sdb3 108 2235 17093160 83 Linux
My Rig Specs:
MSI Master K7-S
Athlon XP 2000+
(2x) Maxtor Atlas III 10k 18.6gb U160 Scsi Drives
(1x) Maxtor 60gb ATA100
(1x) Maxtor 40gb ATA100
Lite-On dvd-rom and cd-rw
Radeon 8500DV
Onboard AC'97 Sound
Linksys LNE100tx v4 Network Card
My current Bootloader for windows is installed on sda, my first SCSI drive. (I believe....is there any way to check)
I want to get LILO working for both of my operating systems...what do I need to change in my lilo.conf file, if anything to get this to work and where should I install LILO too? This is my biggest concern, I have yet to still completely understand MBR and bootloaders enough to be comfortable doing this manually.
Another problem...but less severe has to do with fstab. In RH9 I had fstab mount my two FAT32 partitions in /mnt/files /mnt/files2 accordingly...except that only root had read write and execute permissions on them. I tried doing chmod -R a=wrx /mnt/files and the same for ../files2 but it wouldnt let me..is there any way to specify who has permissions on the mounts through fstab?
Anyone that has the time and patience to read through this, I appreciate it greatly, and any help would be gladly accepted.
Thank you very much in advance!
:beer:
