wraider1
30-06-2007, 03:04
I just upgraded to the g release and cannot get the harddrive to automount, it boots up with /tmp/harddisk everytime. I have followed sprayfly directions and everything seems to work fine until I reboot, always goes back to /tmp/harddisk. ug:mad: :eek: :confused:
post-boot is in the correct dir but it seems that it is not being read HELP!!!
Command (m for help): p
Disk /dev/discs/disc0/disc: 100.0 GB, 100030242816 bytes
16 heads, 63 sectors/track, 193821 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes
Device Boot Start End Blocks Id System
/dev/discs/disc0/part1 1 184075 92773768+ 83 Linux
/dev/discs/disc0/part2 184076 193821 4911984 82 Linux swap
Command (m for help): w
The partition table has been altered!
Calling ioctl() to re-read partition table.
Syncing disks.
[root@~1~ root]$ mount /dev/discs/disc0/part1 /opt
[root@~1~ root]$ swapon /dev/discs/disc0/part2
[root@~1~ root]$ df
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/root 2880 2880 0 100% /
/dev/discs/disc0/part1 91317728 139628 86539412 0% /opt
[root@~1~ root]$ nano /usr/local/sbin/post-boot
GNU nano 2.0.6 File: /usr/local/sbin/post-boot
#!/bin/sh
mount /dev/discs/disc0/part1 /opt
i=0
while [ -le 30 ]
do
if [ -d /opt/etc ]
then
break
fi
sleep 1
i='expr + 1'
done
swapon /dev/discs/disc0/part2
/opt/etc/init.d/rc.unslung
log info:
Dec 31 19:00:02 syslogd started: BusyBox v1.1.3
Dec 31 19:00:02 kernel: klogd started: BusyBox v1.1.3 (2007.01.01-14:37+0000)
Dec 31 19:00:02 kernel: cpu probe
Dec 31 19:00:02 kernel: prom init
Dec 31 19:00:02 kernel: cpu report
Dec 31 19:00:02 kernel: CPU revision is: 00024000
Dec 31 19:00:02 kernel: Loading BCM4710 MMU routines.
Dec 31 19:00:02 kernel: Primary instruction cache 8kb, linesize 16 bytes (2 ways)
Dec 31 19:00:02 kernel: Primary data cache 4kb, linesize 16 bytes (2 ways)
Dec 31 19:00:02 kernel: Linux version 2.4.20 (root@omnibook) (gcc version 3.2.3 with Broadcom modifications) #75 Fri Apr 6 00:12:23 MSD 2007
Dec 31 19:00:02 kernel: Setting the PFC value as 0x15
Dec 31 19:00:02 kernel: Determined physical RAM map:
Dec 31 19:00:02 kernel: memory: 01000000 @ 00000000 (usable)
Dec 31 19:00:02 kernel: On node 0 totalpages: 4096
Dec 31 19:00:02 kernel: zone(0): 4096 pages.
Dec 31 19:00:02 kernel: zone(1): 0 pages.
Dec 31 19:00:02 kernel: zone(2): 0 pages.
Dec 31 19:00:02 kernel: Kernel command line: root=/dev/mtdblock2 noinitrd init=/linuxrc console=ttyS0,115200
Dec 31 19:00:02 kernel: CPU: BCM4710 rev 0 at 125 MHz
Dec 31 19:00:02 kernel: !unable to setup serial console!
Dec 31 19:00:02 kernel: Calibrating delay loop... 82.94 BogoMIPS
Dec 31 19:00:02 kernel: Memory: 13840k/16384k available (1799k kernel code, 2544k reserved, 248k data, 68k init, 0k highmem)
Dec 31 19:00:02 kernel: Dentry cache hash table entries: 2048 (order: 2, 16384 bytes)
Dec 31 19:00:02 kernel: Inode cache hash table entries: 1024 (order: 1, 8192 bytes)
Dec 31 19:00:02 kernel: Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
Dec 31 19:00:02 kernel: Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes)
Dec 31 19:00:02 kernel: Page-cache hash table entries: 4096 (order: 2, 16384 bytes)
Dec 31 19:00:02 kernel: Checking for 'wait' instruction... unavailable.
Dec 31 19:00:02 kernel: POSIX conformance testing by UNIFIX
Dec 31 19:00:02 kernel: PCI: Fixing up bus 0
Dec 31 19:00:02 kernel: PCI: Fixing up bridge
Dec 31 19:00:02 kernel: PCI: Fixing up bus 1
Dec 31 19:00:02 kernel: Linux NET4.0 for Linux 2.4
Dec 31 19:00:02 kernel: Based upon Swansea University Computer Society NET3.039
Dec 31 19:00:02 kernel: Initializing RT netlink socket
Dec 31 19:00:02 kernel: Starting kswapd
Dec 31 19:00:02 kernel: Journalled Block Device driver loaded
Dec 31 19:00:02 kernel: devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au)
Dec 31 19:00:02 kernel: devfs: boot_options: 0x1
Dec 31 19:00:02 kernel: NTFS driver v1.1.22 [Flags: R/O]
Dec 31 19:00:02 kernel: pty: 256 Unix98 ptys configured
Dec 31 19:00:02 kernel: Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled
Dec 31 19:00:02 kernel: HDLC line discipline: version $Revision$, maxframe=4096
Dec 31 19:00:02 kernel: N_HDLC line discipline registered.
Dec 31 19:00:02 kernel: loop: loaded (max 8 devices)
Dec 31 19:00:02 kernel: PPP generic driver version 2.4.2
Dec 31 19:00:02 kernel: PPP Deflate Compression module registered
Dec 31 19:00:02 kernel: PPP BSD Compression module registered
Dec 31 19:00:02 kernel: MPPE/MPPC encryption/compression module registered
Dec 31 19:00:02 kernel: Amd/Fujitsu Extended Query Table v1.1 at 0x0040
Dec 31 19:00:02 kernel: Flash Id: Vendor: 0x00c2 Device: 0x00a7
Dec 31 19:00:02 kernel: Physically mapped flash: Swapping erase regions for broken CFI table.
Dec 31 19:00:02 kernel: number of CFI chips: 1
Dec 31 19:00:02 kernel: Flash device: 0x400000 at 0x1fc00000
Dec 31 19:00:02 kernel: Physically mapped flash: squashfs filesystem found at block 941
Dec 31 19:00:02 kernel: Creating 5 MTD partitions on "Physically mapped flash":
Dec 31 19:00:02 kernel: 0x00000000-0x00040000 : "pmon"
Dec 31 19:00:02 kernel: 0x00040000-0x003f0000 : "linux"
Dec 31 19:00:02 kernel: 0x000eb714-0x003f0000 : "rootfs"
Dec 31 19:00:02 kernel: 0x003f0000-0x00400000 : "nvram"
Dec 31 19:00:02 kernel: 0x003e0000-0x003f0000 : "flashfs"
Dec 31 19:00:02 kernel: sflash: chipcommon not found
Dec 31 19:00:02 kernel: NET4: Linux TCP/IP 1.0 for NET4.0
Dec 31 19:00:02 kernel: IP Protocols: ICMP, UDP, TCP, IGMP
Dec 31 19:00:02 kernel: IP: routing cache hash table of 512 buckets, 4Kbytes
Dec 31 19:00:02 kernel: TCP: Hash tables configured (established 1024 bind 2048)
Dec 31 19:00:02 kernel: Linux IP multicast router 0.06 plus PIM-SM
Dec 31 19:00:02 kernel: ip_conntrack version 2.1 (128 buckets, 1024 max) - 352 bytes per conntrack
Dec 31 19:00:02 kernel: ip_conntrack_pptp version 1.9 loaded
Dec 31 19:00:02 kernel: ip_nat_pptp version 1.5 loaded
Dec 31 19:00:02 kernel: ip_tables: (C) 2000-2002 Netfilter core team
Dec 31 19:00:02 kernel: ipt_time loading
Dec 31 19:00:02 kernel: NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
Dec 31 19:00:02 kernel: IPv6 v0.8 for NET4.0
Dec 31 19:00:02 kernel: IPv6 over IPv4 tunneling driver
Dec 31 19:00:02 kernel: NET4: Ethernet Bridge 008 for NET4.0
Dec 31 19:00:02 kernel: 802.1Q VLAN Support v1.7 Ben Greear <greearb@candelatech.com>
Dec 31 19:00:02 kernel: All bugs added by David S. Miller <davem@redhat.com>
Dec 31 19:00:02 kernel: FAT: bogus logical sector size 54016
Dec 31 19:00:02 kernel: FAT: bogus logical sector size 54016
Dec 31 19:00:02 kernel: NTFS: Unable to set blocksize 512.
Dec 31 19:00:02 kernel: VFS: Mounted root (squashfs filesystem) readonly.
Dec 31 19:00:02 kernel: Mounted devfs on /dev
Dec 31 19:00:02 kernel: Freeing unused kernel memory: 68k freed
Dec 31 19:00:02 kernel: Warning: unable to open an initial console.
Dec 31 19:00:02 kernel: Algorithmics/MIPS FPU Emulator v1.5
Dec 31 19:00:02 kernel: Uniform Multi-Platform E-IDE driver Revision: 6.31
Dec 31 19:00:02 kernel: ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
Dec 31 19:00:02 kernel: PDC20265: IDE controller on PCI bus 01 dev 08
Dec 31 19:00:02 kernel: PCI: Enabling device 01:01.0 (0004 -> 0007)
Dec 31 19:00:02 kernel: PDC20265: chipset revision 2
Dec 31 19:00:02 kernel: PDC20265: not 100% native mode: will probe irqs later
Dec 31 19:00:02 kernel: PDC20265: ROM enabled at 0x000d0000
Dec 31 19:00:02 kernel: PCI Mode Secondary PCI Mode.
Dec 31 19:00:02 kernel: PDC20265: FORCING BURST BIT 0x00 -> 0x01 ACTIVE
Dec 31 19:00:02 kernel: ide0: BM-DMA at 0x0140-0x0147, BIOS settings: hda:pio, hdb:pio
Dec 31 19:00:02 kernel: ide1: BM-DMA at 0x0148-0x014f, BIOS settings: hdc:pio, hdd:pio
Dec 31 19:00:03 kernel: hda: ST9100822A, ATA DISK drive
Dec 31 19:00:03 kernel: ide2: ports already in use, skipping probe
Dec 31 19:00:03 kernel: ide3: ports already in use, skipping probe
Dec 31 19:00:03 kernel: ide4: ports already in use, skipping probe
Dec 31 19:00:03 kernel: ide5: ports already in use, skipping probe
post-boot is in the correct dir but it seems that it is not being read HELP!!!
Command (m for help): p
Disk /dev/discs/disc0/disc: 100.0 GB, 100030242816 bytes
16 heads, 63 sectors/track, 193821 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes
Device Boot Start End Blocks Id System
/dev/discs/disc0/part1 1 184075 92773768+ 83 Linux
/dev/discs/disc0/part2 184076 193821 4911984 82 Linux swap
Command (m for help): w
The partition table has been altered!
Calling ioctl() to re-read partition table.
Syncing disks.
[root@~1~ root]$ mount /dev/discs/disc0/part1 /opt
[root@~1~ root]$ swapon /dev/discs/disc0/part2
[root@~1~ root]$ df
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/root 2880 2880 0 100% /
/dev/discs/disc0/part1 91317728 139628 86539412 0% /opt
[root@~1~ root]$ nano /usr/local/sbin/post-boot
GNU nano 2.0.6 File: /usr/local/sbin/post-boot
#!/bin/sh
mount /dev/discs/disc0/part1 /opt
i=0
while [ -le 30 ]
do
if [ -d /opt/etc ]
then
break
fi
sleep 1
i='expr + 1'
done
swapon /dev/discs/disc0/part2
/opt/etc/init.d/rc.unslung
log info:
Dec 31 19:00:02 syslogd started: BusyBox v1.1.3
Dec 31 19:00:02 kernel: klogd started: BusyBox v1.1.3 (2007.01.01-14:37+0000)
Dec 31 19:00:02 kernel: cpu probe
Dec 31 19:00:02 kernel: prom init
Dec 31 19:00:02 kernel: cpu report
Dec 31 19:00:02 kernel: CPU revision is: 00024000
Dec 31 19:00:02 kernel: Loading BCM4710 MMU routines.
Dec 31 19:00:02 kernel: Primary instruction cache 8kb, linesize 16 bytes (2 ways)
Dec 31 19:00:02 kernel: Primary data cache 4kb, linesize 16 bytes (2 ways)
Dec 31 19:00:02 kernel: Linux version 2.4.20 (root@omnibook) (gcc version 3.2.3 with Broadcom modifications) #75 Fri Apr 6 00:12:23 MSD 2007
Dec 31 19:00:02 kernel: Setting the PFC value as 0x15
Dec 31 19:00:02 kernel: Determined physical RAM map:
Dec 31 19:00:02 kernel: memory: 01000000 @ 00000000 (usable)
Dec 31 19:00:02 kernel: On node 0 totalpages: 4096
Dec 31 19:00:02 kernel: zone(0): 4096 pages.
Dec 31 19:00:02 kernel: zone(1): 0 pages.
Dec 31 19:00:02 kernel: zone(2): 0 pages.
Dec 31 19:00:02 kernel: Kernel command line: root=/dev/mtdblock2 noinitrd init=/linuxrc console=ttyS0,115200
Dec 31 19:00:02 kernel: CPU: BCM4710 rev 0 at 125 MHz
Dec 31 19:00:02 kernel: !unable to setup serial console!
Dec 31 19:00:02 kernel: Calibrating delay loop... 82.94 BogoMIPS
Dec 31 19:00:02 kernel: Memory: 13840k/16384k available (1799k kernel code, 2544k reserved, 248k data, 68k init, 0k highmem)
Dec 31 19:00:02 kernel: Dentry cache hash table entries: 2048 (order: 2, 16384 bytes)
Dec 31 19:00:02 kernel: Inode cache hash table entries: 1024 (order: 1, 8192 bytes)
Dec 31 19:00:02 kernel: Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
Dec 31 19:00:02 kernel: Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes)
Dec 31 19:00:02 kernel: Page-cache hash table entries: 4096 (order: 2, 16384 bytes)
Dec 31 19:00:02 kernel: Checking for 'wait' instruction... unavailable.
Dec 31 19:00:02 kernel: POSIX conformance testing by UNIFIX
Dec 31 19:00:02 kernel: PCI: Fixing up bus 0
Dec 31 19:00:02 kernel: PCI: Fixing up bridge
Dec 31 19:00:02 kernel: PCI: Fixing up bus 1
Dec 31 19:00:02 kernel: Linux NET4.0 for Linux 2.4
Dec 31 19:00:02 kernel: Based upon Swansea University Computer Society NET3.039
Dec 31 19:00:02 kernel: Initializing RT netlink socket
Dec 31 19:00:02 kernel: Starting kswapd
Dec 31 19:00:02 kernel: Journalled Block Device driver loaded
Dec 31 19:00:02 kernel: devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au)
Dec 31 19:00:02 kernel: devfs: boot_options: 0x1
Dec 31 19:00:02 kernel: NTFS driver v1.1.22 [Flags: R/O]
Dec 31 19:00:02 kernel: pty: 256 Unix98 ptys configured
Dec 31 19:00:02 kernel: Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled
Dec 31 19:00:02 kernel: HDLC line discipline: version $Revision$, maxframe=4096
Dec 31 19:00:02 kernel: N_HDLC line discipline registered.
Dec 31 19:00:02 kernel: loop: loaded (max 8 devices)
Dec 31 19:00:02 kernel: PPP generic driver version 2.4.2
Dec 31 19:00:02 kernel: PPP Deflate Compression module registered
Dec 31 19:00:02 kernel: PPP BSD Compression module registered
Dec 31 19:00:02 kernel: MPPE/MPPC encryption/compression module registered
Dec 31 19:00:02 kernel: Amd/Fujitsu Extended Query Table v1.1 at 0x0040
Dec 31 19:00:02 kernel: Flash Id: Vendor: 0x00c2 Device: 0x00a7
Dec 31 19:00:02 kernel: Physically mapped flash: Swapping erase regions for broken CFI table.
Dec 31 19:00:02 kernel: number of CFI chips: 1
Dec 31 19:00:02 kernel: Flash device: 0x400000 at 0x1fc00000
Dec 31 19:00:02 kernel: Physically mapped flash: squashfs filesystem found at block 941
Dec 31 19:00:02 kernel: Creating 5 MTD partitions on "Physically mapped flash":
Dec 31 19:00:02 kernel: 0x00000000-0x00040000 : "pmon"
Dec 31 19:00:02 kernel: 0x00040000-0x003f0000 : "linux"
Dec 31 19:00:02 kernel: 0x000eb714-0x003f0000 : "rootfs"
Dec 31 19:00:02 kernel: 0x003f0000-0x00400000 : "nvram"
Dec 31 19:00:02 kernel: 0x003e0000-0x003f0000 : "flashfs"
Dec 31 19:00:02 kernel: sflash: chipcommon not found
Dec 31 19:00:02 kernel: NET4: Linux TCP/IP 1.0 for NET4.0
Dec 31 19:00:02 kernel: IP Protocols: ICMP, UDP, TCP, IGMP
Dec 31 19:00:02 kernel: IP: routing cache hash table of 512 buckets, 4Kbytes
Dec 31 19:00:02 kernel: TCP: Hash tables configured (established 1024 bind 2048)
Dec 31 19:00:02 kernel: Linux IP multicast router 0.06 plus PIM-SM
Dec 31 19:00:02 kernel: ip_conntrack version 2.1 (128 buckets, 1024 max) - 352 bytes per conntrack
Dec 31 19:00:02 kernel: ip_conntrack_pptp version 1.9 loaded
Dec 31 19:00:02 kernel: ip_nat_pptp version 1.5 loaded
Dec 31 19:00:02 kernel: ip_tables: (C) 2000-2002 Netfilter core team
Dec 31 19:00:02 kernel: ipt_time loading
Dec 31 19:00:02 kernel: NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
Dec 31 19:00:02 kernel: IPv6 v0.8 for NET4.0
Dec 31 19:00:02 kernel: IPv6 over IPv4 tunneling driver
Dec 31 19:00:02 kernel: NET4: Ethernet Bridge 008 for NET4.0
Dec 31 19:00:02 kernel: 802.1Q VLAN Support v1.7 Ben Greear <greearb@candelatech.com>
Dec 31 19:00:02 kernel: All bugs added by David S. Miller <davem@redhat.com>
Dec 31 19:00:02 kernel: FAT: bogus logical sector size 54016
Dec 31 19:00:02 kernel: FAT: bogus logical sector size 54016
Dec 31 19:00:02 kernel: NTFS: Unable to set blocksize 512.
Dec 31 19:00:02 kernel: VFS: Mounted root (squashfs filesystem) readonly.
Dec 31 19:00:02 kernel: Mounted devfs on /dev
Dec 31 19:00:02 kernel: Freeing unused kernel memory: 68k freed
Dec 31 19:00:02 kernel: Warning: unable to open an initial console.
Dec 31 19:00:02 kernel: Algorithmics/MIPS FPU Emulator v1.5
Dec 31 19:00:02 kernel: Uniform Multi-Platform E-IDE driver Revision: 6.31
Dec 31 19:00:02 kernel: ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
Dec 31 19:00:02 kernel: PDC20265: IDE controller on PCI bus 01 dev 08
Dec 31 19:00:02 kernel: PCI: Enabling device 01:01.0 (0004 -> 0007)
Dec 31 19:00:02 kernel: PDC20265: chipset revision 2
Dec 31 19:00:02 kernel: PDC20265: not 100% native mode: will probe irqs later
Dec 31 19:00:02 kernel: PDC20265: ROM enabled at 0x000d0000
Dec 31 19:00:02 kernel: PCI Mode Secondary PCI Mode.
Dec 31 19:00:02 kernel: PDC20265: FORCING BURST BIT 0x00 -> 0x01 ACTIVE
Dec 31 19:00:02 kernel: ide0: BM-DMA at 0x0140-0x0147, BIOS settings: hda:pio, hdb:pio
Dec 31 19:00:02 kernel: ide1: BM-DMA at 0x0148-0x014f, BIOS settings: hdc:pio, hdd:pio
Dec 31 19:00:03 kernel: hda: ST9100822A, ATA DISK drive
Dec 31 19:00:03 kernel: ide2: ports already in use, skipping probe
Dec 31 19:00:03 kernel: ide3: ports already in use, skipping probe
Dec 31 19:00:03 kernel: ide4: ports already in use, skipping probe
Dec 31 19:00:03 kernel: ide5: ports already in use, skipping probe