View previous topic :: View next topic |
Author |
Message |
trmentry n00b
Joined: 14 Jul 2006 Posts: 18
|
Posted: Fri Jul 14, 2006 6:38 pm Post subject: Trying to get 2006.0 installed on Ultra5... |
|
|
Sorry for the cruft, but I'm having an issue and I'm not exactly sure how to solve it.
I have an old Ultra5. It came without a hard drive so I dug up an old 100g drive and installed that in it. (Jumpered as Cable Select)
When I partitioned it, I created the Sun Disk Label and made the following.
/dev/hda1 / (512mb) ext2
/dev/hda2 swap (512mb) swap
/dev/hda3 whole disk
/dev/hda4 /usr (15g) ext3
/dev/hda5 /var (15g) ext3
/dev/hda6 /home (rest) ext3
I followed the 2006.0 doc and when it comes to the edit the fstab portion, this is where I get confused. In there it wants a line for /dev/BOOT but I don't have a /boot partition. Should I have created a /boot partition? I was under the impression that the first partition needed to be / .
I get through the doc and make my fstab without putting in a /boot line and reboot the machine and it comes up saying "The file just loaded does not appear to be executable."
However the kernel file in /boot is executable.
Can someone please point me in the right direction as to what I'm doing wrong?
Many thanks.
Quote: |
ivecd ~ # ls -l /mnt/gentoo/boot
total 4002
-rw-r--r-- 1 root root 525858 Jul 14 09:59 System-2.4.32-sparc-r6.map
lrwxrwxrwx 1 root root 1 Jul 13 19:17 boot -> .
-rw-r--r-- 1 root root 1024 Jul 14 10:50 fd.b
-rw-r--r-- 1 root root 512 Jul 14 10:50 first.b
-rw-r--r-- 1 root root 1024 Jul 14 10:50 generic.b
-rw-r--r-- 1 root root 816 Jul 14 10:50 ieee32.b
-rw-r--r-- 1 root root 7112 Jul 14 10:50 isofs.b
-rwxr-xr-x 1 root root 3449968 Jul 14 09:59 kernel-2.4.32-sparc-r6
-rw-r--r-- 1 root root 65024 Jul 14 10:50 second.b
-rw-r--r-- 1 root root 243 Jul 14 11:01 silo.conf
-rw-r--r-- 1 root root 62436 Jul 14 10:50 silotftp.b
-rw-r--r-- 1 root root 512 Jul 14 10:50 ultra.b
livecd ~ # df -H
Filesystem Size Used Avail Use% Mounted on
tmpfs 131M 2.9M 128M 3% /
/dev/cdroms/cdrom0 34M 34M 0 100% /mnt/cdrom
/dev/loop/0 30M 30M 0 100% /mnt/livecd
tmpfs 131M 0 131M 0% /mnt/livecd/lib/firmware
tmpfs 131M 0 131M 0% /mnt/livecd/usr/portage
/dev/ide/host0/bus0/target0/lun0/part1
494M 172M 297M 37% /mnt/gentoo
/dev/ide/host0/bus0/target0/lun0/part4
25G 1.5G 22G 7% /mnt/gentoo/usr
/dev/ide/host0/bus0/target0/lun0/part4
25G 1.5G 22G 7% /mnt/gentoo/var
/dev/ide/host0/bus0/target0/lun0/part4
25G 1.5G 22G 7% /mnt/gentoo/home
livecd ~ # more /mnt/gentoo/boot/silo.conf
partition = 1 # Boot partition (= root partition)
root = /dev/hda1 # Root partition
timeout = 150 # Wait 15 seconds before booting the default section
image = /boot/kernel-2.4.32-sparc-r6
label = Gentoo Linux 2.4.32-r6
|
|
|
Back to top |
|
|
sblaineyuk n00b
Joined: 27 Oct 2005 Posts: 34
|
Posted: Mon Jul 17, 2006 10:12 am Post subject: |
|
|
You don't need a seperate /boot partition... can you show me what your fstab looks like? |
|
Back to top |
|
|
trmentry n00b
Joined: 14 Jul 2006 Posts: 18
|
Posted: Mon Jul 17, 2006 5:25 pm Post subject: |
|
|
sblaineyuk wrote: | You don't need a seperate /boot partition... can you show me what your fstab looks like? |
Code: |
# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/hda1 / ext3 noatime 0 1
/dev/hda2 none swap sw 0 0
/dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,ro 0 0
#/dev/fd0 /mnt/floppy auto noauto 0 0
# NOTE: The next line is critical for boot!
proc /proc proc defaults 0 0
none /proc/openprom openpromfs defaults 0 0
# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
# use almost no memory if not populated with files)
shm /dev/shm tmpfs nodev,nosuid,noexec 0 0
corellia ~ #
|
I did get this working. My silo.conf was the issue. I had whitespaces in the label field. I put all that in quotes and it booted up without issue.
Thank you for the reply. |
|
Back to top |
|
|
|