View previous topic :: View next topic |
Author |
Message |
Drunkula Apprentice
Joined: 28 Jul 2003 Posts: 257 Location: Denton, TX - USA
|
Posted: Tue Mar 01, 2005 1:07 pm Post subject: Boot problem - new install on Ultra 2E |
|
|
Just did a new install of Gentoo on my Ultra2. I had it up and running before but installed Solaris 10 to just to check it out. Anyhow, now that I've reinstalled (got to the point of installing SILO and rebooted) I get this error:
Code: | Warning: Fcode sequence resulted in a net stack depth change of 1
The file just loaded does not appear to be executable |
Here is silo.conf:
Code: | partition = 1
root = /dev/sda1
timeout = 50
image = /boot/image
label = Gentoo |
The partition table as it is:
Code: | Disk /dev/sda (Sun disk label): 64 heads, 32 sectors, 8635 cylinders
Units = cylinders of 2048 * 512 bytes
Device Flag Start End Blocks Id System
/dev/sda1 2560 8635 6220800 83 Linux native
/dev/sda2 u 0 512 524288 82 Linux swap
/dev/sda3 0 8635 8842240 5 Whole disk
/dev/sda8 512 2560 2097152 83 Linux native
|
And fstab:
Code: |
/dev/sda1 / ext3 noatime 0 1
/dev/sda2 none swap sw 0 0
/dev/sda8 /home ext3 noatime 0 2
/dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,ro 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
none /proc/openprom openpromfs defaults 0 0
|
Here is the contents of /boot:
Code: | livecd root # ls -lh /boot/
total 5.8M
-rw-r--r-- 1 root root 451K Feb 28 19:50 System.map
lrwxrwxrwx 1 root root 1 Feb 27 07:53 boot -> .
-rw-r--r-- 1 root root 1.0K Feb 28 19:11 fd.b
-rw-r--r-- 1 root root 512 Feb 28 19:11 first.b
-rw-r--r-- 1 root root 1.0K Feb 28 19:11 generic.b
-rw-r--r-- 1 root root 816 Feb 28 19:11 ieee32.b
-rwxr-xr-x 1 root root 2.6M Feb 28 19:50 image
-rw-r--r-- 1 root root 7.1K Feb 28 19:11 isofs.b
-rw-r--r-- 1 root root 7.5K Feb 28 19:16 old.b
-rw-r--r-- 1 root root 64K Feb 28 19:51 second.b
-rw-r--r-- 1 root root 83 Feb 28 19:49 silo.conf
-rw-r--r-- 1 root root 62K Feb 28 19:11 silotftp.b
-rw-r--r-- 1 root root 512 Feb 28 19:11 ultra.b
livecd root #
|
Running silo -C /boot/silo.conf says /boot/silo.conf appears to be valid.
In OBP printenv shows my boot-device to be:
Code: | /sbus@1f,0/SUNW,fas@e,8800000/sd0,0:a disk net
|
Or at least that's what it looks like from printenv boot-device. What have I missed? Incidentally the kernel is from sparc-sources-2.4.29.
[FOLLOW UP]
Somebody mentioned that my swap partition appears to overlap the wholedisk partition since both start at zero? Not sure how that happened but I will redo the swap partition when I get home to see if that makes a difference.
[FOLLOW UP #2]
No change after changing the swap partition. Going to doublecheck my kernel config and recompile. |
|
Back to top |
|
|
Drunkula Apprentice
Joined: 28 Jul 2003 Posts: 257 Location: Denton, TX - USA
|
Posted: Wed Mar 02, 2005 12:47 am Post subject: |
|
|
Quote: | A BSD/SUN type disklabel can describe 8 partitions, the third of which should be a `whole disk' partition. Do not start a partition that actually uses its first sector (like a swap partition) at cylinder 0, since that will destroy the disklabel. |
Read this elsewhere. Not sure how I ended up with the swap starting at 0 the same as the whole disk. Guess I'll just start over and count my losses as experience gained.
[FOLLOW UP #3]
Nevermind. I nuked all partitions and recreated the Sun disk label then started from scratch. The box is now up and running, though stage3 instead of stage1. I think I'll live... |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|