I recently installed Gentoo for the first time (and am loving it!) and
flubbed the step in the installation in which you edit /etc/fstab.
Though everything seems to be working correctly, some behavior has left
me mystified.
The flub was as follows: The original /etc/fstab that comes with Gentoo
has /dev/ROOT set to xfs. I accidentally forgot to change xfs to ext3.
When I cycled the box, fsck gave a few complaints but it booted just
fine. I corrected the problem and rebooted, but df now gives me
www build # df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/root 4134900 2107248 1985644 52% /
none 257572 0 257572 0% /dev/shm
/dev/sda7 4134900 45520 4047372 2% /app
... blah blah blah ...
Of course, there is no /dev/root:
www build # ls -l /dev/root
ls: /dev/root: No such file or directory
www build #
According to fstab, I am supposed to have
/dev/sda1 -> /boot
/dev/sda5 -> /
/dev/sda6 -> swap
/dev/sda7 -> /app
/dev/sda8 -> /opt
/dev/sda9 -> /home
So I am somewhat mystified what /dev/root is (I've confirmed it is in
fact /dev/sda5); that is, why does it show up as it does in my df
output?
My /etc/fstab, partition table for /dev/sda, and dmesg output is below
my sig.
Thanks in advance!
-Collin
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Collin Starkweather, Ph.D collin.starkweather@...
University of Colorado Department of Economics
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> MY /etc/fstab:
>
> www build # cat /etc/fstab
> # /etc/fstab: static file system information.
> # $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/fstab,v 1.12
> 2003/03/11 02:50:53 azarah Exp $
> #
> # noatime turns of atimes for increased performance (atimes normally
> aren't
> # needed; notail increases performance of ReiserFS (at the expense of
> storage
> # efficiency). It's safe to drop the noatime options if you want and to
> # switch between notail and tail freely.
>
> # <fs> <mountpoint> <type>
> <opts> <dump/pass>
>
> # NOTE: If your BOOT partition is ReiserFS, add the notail option to
> opts.
> /dev/sda1 /boot ext2
> noauto,noatime 1 1
> /dev/sda5 / ext3
> noatime 0 0
> /dev/sda6 none swap
> sw 0 0
> /dev/cdroms/cdrom0 /mnt/cdrom iso9660
> noauto,ro 0 0
>
> # NOTE: The next line is critical for boot!
> none /proc proc
> defaults 0 0
>
> none /dev/shm tmpfs
> defaults 0 0
>
> /dev/sda7 /app ext3
> defaults 1 2
> /dev/sda8 /opt ext3
> defaults 1 2
> /dev/sda9 /home ext3
> defaults 1 2
>
> /dev/sdb1 /archive ext2
> defaults 1 2
>
> www build #
>
> MY PARTITION TABLE FOR /dev/sda:
>
> www build # cat partitions.sda
> # partition table of /dev/sda
> unit: sectors
>
> /dev/sda1 : start= 63, size= 273042, Id=83, bootable
> /dev/sda2 : start= 0, size= 0, Id= 0
> /dev/sda3 : start= 0, size= 0, Id= 0
> /dev/sda4 : start= 273105, size= 71408925, Id= 5
> /dev/sda5 : start= 273168, size= 8401932, Id=83
> /dev/sda6 : start= 8675163, size= 2104452, Id=82
> /dev/sda7 : start= 10779678, size= 8401932, Id=83
> /dev/sda8 : start= 19181673, size= 8401932, Id=83
> /dev/sda9 : start= 27583668, size= 44098362, Id=83
> www build #
>
> THE OUTPUT FROM dmesg:
>
> www build # cat dmesg.2003.08.11.txt
> Linux version 2.4.19-gentoo-r10 (root@insane) (gcc version 3.2.2) #1 Sun
> Jun 1 18:36:57 MDT 2003
> BIOS-provided physical RAM map:
> BIOS-e820: 0000000000000000 - 000000000009f800 (usable)
> BIOS-e820: 000000000009f800 - 00000000000a0000 (reserved)
> BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved)
> BIOS-e820: 0000000000100000 - 000000001ffd0000 (usable)
> BIOS-e820: 000000001ffd0000 - 000000001ffff000 (ACPI data)
> BIOS-e820: 000000001ffff000 - 0000000020000000 (ACPI NVS)
> BIOS-e820: 00000000fec00000 - 00000000fec02000 (reserved)
> BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
> BIOS-e820: 00000000fff00000 - 0000000100000000 (reserved)
> 511MB LOWMEM available.
> found SMP MP-table at 000ff780
> hm, page 000ff000 reserved twice.
> hm, page 00100000 reserved twice.
> hm, page 000f1000 reserved twice.
> hm, page 000f2000 reserved twice.
> Advanced speculative caching feature not present
> On node 0 totalpages: 131024
> zone(0): 4096 pages.
> zone(1): 126928 pages.
> zone(2): 0 pages.
> Intel MultiProcessor Specification v1.4
> Virtual Wire compatibility mode.
> OEM ID: INTEL Product ID: CNB30LE APIC at: 0xFEE00000
> Processor #0 Pentium(tm) Pro APIC version 17
> I/O APIC #4 Version 17 at 0xFEC00000.
> I/O APIC #5 Version 17 at 0xFEC01000.
> Processors: 1
> Kernel command line: root=/dev/sda5
> Initializing CPU#0
> Detected 997.515 MHz processor.
> Console: colour VGA+ 80x25
> Calibrating delay loop... 1992.29 BogoMIPS
> Memory: 512888k/524096k available (1231k kernel code, 8644k reserved,
> 447k data, 80k init, 0k highmem)
> Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
> Inode cache hash table entries: 32768 (order: 6, 262144 bytes)
> Mount-cache hash table entries: 8192 (order: 4, 65536 bytes)
> Buffer-cache hash table entries: 32768 (order: 5, 131072 bytes)
> Page-cache hash table entries: 131072 (order: 7, 524288 bytes)
> CPU: Before vendor init, caps: 0387fbff 00000000 00000000, vendor = 0
> CPU: L1 I cache: 16K, L1 D cache: 16K
> CPU: L2 cache: 256K
> CPU: After vendor init, caps: 0387fbff 00000000 00000000 00000000
> CPU serial number disabled.
> Intel machine check architecture supported.
> Intel machine check reporting enabled on CPU#0.
> CPU: After generic, caps: 0383fbff 00000000 00000000 00000000
> CPU: Common caps: 0383fbff 00000000 00000000 00000000
> CPU: Intel Pentium III (Coppermine) stepping 0a
> Enabling fast FPU save and restore... done.
> Enabling unmasked SIMD FPU exception support... done.
> Checking 'hlt' instruction... OK.
> POSIX conformance testing by UNIFIX
> enabled ExtINT on CPU#0
> ESR value before enabling vector: 00000004
> ESR value after enabling vector: 00000000
> Using local APIC timer interrupts.
> calibrating APIC timer ...
> ..... CPU clock speed is 997.5173 MHz.
> ..... host bus clock speed is 133.0022 MHz.
> cpu: 0, clocks: 1330022, slice: 665011
> CPU0<T0:1330016,T1:664992,D:13,S:665011,C:1330022>
> mtrr: v1.40 (20010327) Richard Gooch (rgooch@...)
> mtrr: detected mtrr type: Intel
> PCI: PCI BIOS revision 2.10 entry at 0xfda65, last bus=1
> PCI: Using configuration type 1
> PCI: Probing PCI hardware
> PCI: Discovered primary peer bus 01 [IRQ]
> isapnp: Scanning for PnP cards...
> isapnp: No Plug & Play device found
> Linux NET4.0 for Linux 2.4
> Based upon Swansea University Computer Society NET3.039
> Initializing RT netlink socket
> Starting kswapd
> Journalled Block Device driver loaded
> Detected PS/2 Mouse Port.
> pty: 256 Unix98 ptys configured
> Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ
> SERIAL_PCI ISAPNP enabled
> ttyS00 at 0x03f8 (irq = 4) is a 16550A
> Uniform Multi-Platform E-IDE driver Revision: 6.31
> ide: Assuming 33MHz system bus speed for PIO modes; override with
> idebus=xx
> ServerWorks OSB4: IDE controller on PCI bus 00 dev 79
> ServerWorks OSB4: detected chipset, but driver not compiled in!
> ServerWorks OSB4: chipset revision 0
> ServerWorks OSB4: not 100% native mode: will probe irqs later
> ide0: BM-DMA at 0xffa0-0xffa7, BIOS settings: hda:pio, hdb:pio
> ide1: BM-DMA at 0xffa8-0xffaf, BIOS settings: hdc:pio, hdd:pio
> Floppy drive(s): fd0 is 1.44M
> FDC 0 is a post-1991 82077
> loop: loaded (max 8 devices)
> eepro100.c:v1.09j-t 9/29/99 Donald Becker
> http://www.scyld.com/network/eepro100.html
> eepro100.c: $Revision: 1.36 $ 2000/11/17 Modified by Andrey V. Savochkin
> <saw@...> and others
> eth0: Intel Corp. 82557/8/9 [Ethernet Pro 100], 00:02:B3:87:25:B6, IRQ
> 10.
> Board assembly 000000-000, Physical connectors present: RJ45
> Primary interface chip i82555 PHY #1.
> General self-test: passed.
> Serial sub-system self-test: passed.
> Internal registers self-test: passed.
> ROM checksum self-test: passed (0x04f4518b).
> eth1: Intel Corp. 82557/8/9 [Ethernet Pro 100] (#2), 00:02:B3:87:25:B7,
> IRQ 5.
> Board assembly 000000-000, Physical connectors present: RJ45
> Primary interface chip i82555 PHY #1.
> General self-test: passed.
> Serial sub-system self-test: passed.
> Internal registers self-test: passed.
> ROM checksum self-test: passed (0x04f4518b).
> Linux agpgart interface v0.99 (c) Jeff Hartmann
> agpgart: Maximum main memory to use for agp memory: 439M
> agpgart: no supported devices found.
> SCSI subsystem driver Revision: 1.00
> scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.8
> <Adaptec aic7899 Ultra160 SCSI adapter>
> aic7899: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs
>
> scsi1 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.8
> <Adaptec aic7899 Ultra160 SCSI adapter>
> aic7899: Ultra160 Wide Channel B, SCSI Id=7, 32/253 SCBs
>
> Vendor: IBM Model: DDYS-T36950M Rev: SC4D
> Type: Direct-Access ANSI SCSI revision: 03
> (scsi1:A:0): 160.000MB/s transfers (80.000MHz DT, offset 63, 16bit)
> Vendor: IBM Model: DDYS-T36950M Rev: SC4D
> Type: Direct-Access ANSI SCSI revision: 03
> (scsi1:A:1): 160.000MB/s transfers (80.000MHz DT, offset 63, 16bit)
> Vendor: ESG-SHV Model: SCA HSBP M14 Rev: 0.01
> Type: Processor ANSI SCSI revision: 02
> scsi1:A:0:0: Tagged Queuing enabled. Depth 253
> scsi1:A:1:0: Tagged Queuing enabled. Depth 253
> Attached scsi disk sda at scsi1, channel 0, id 0, lun 0
> Attached scsi disk sdb at scsi1, channel 0, id 1, lun 0
> SCSI device sda: 71687340 512-byte hdwr sectors (36704 MB)
> Partition check:
> sda: sda1 sda4 < sda5 sda6 sda7 sda8 sda9 >
> SCSI device sdb: 71687340 512-byte hdwr sectors (36704 MB)
> sdb: sdb1
> usb.c: registered new driver hub
> uhci.c: USB Universal Host Controller Interface driver v1.1
> Initializing USB Mass Storage driver...
> usb.c: registered new driver usb-storage
> USB Mass Storage support registered.
> NET4: Linux TCP/IP 1.0 for NET4.0
> IP Protocols: ICMP, UDP, TCP
> IP: routing cache hash table of 4096 buckets, 32Kbytes
> TCP: Hash tables configured (established 32768 bind 65536)
> NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
> kjournald starting. Commit interval 5 seconds
> EXT3-fs: mounted filesystem with ordered data mode.
> VFS: Mounted root (ext3 filesystem) readonly.
> Freeing unused kernel memory: 80k freed
> Adding Swap: 1052216k swap-space (priority -1)
> EXT3 FS 2.4-0.9.17, 10 Jan 2002 on sd(8,5), internal journal
> kjournald starting. Commit interval 5 seconds
> EXT3 FS 2.4-0.9.17, 10 Jan 2002 on sd(8,7), internal journal
> EXT3-fs: mounted filesystem with ordered data mode.
> kjournald starting. Commit interval 5 seconds
> EXT3 FS 2.4-0.9.17, 10 Jan 2002 on sd(8,8), internal journal
> EXT3-fs: mounted filesystem with ordered data mode.
> kjournald starting. Commit interval 5 seconds
> EXT3 FS 2.4-0.9.17, 10 Jan 2002 on sd(8,9), internal journal
> EXT3-fs: mounted filesystem with ordered data mode.
> www build #
>
|