Installing a new hard disk

Cyber Source peter at thecybersource.com
Thu Aug 14 22:58:59 EDT 2003


Yep, as I thought. If you don't see hdb here, you certainly won't go any
further with it. Check your jumper settings on the new hdb and make sure
it is set to slave. Also, just in case your BIOS has retained the
settings for the old hdb, check that and either make sure it is set to
auto or have the BIOS rescan the IDE channels.
On Thu, 2003-08-14 at 22:34, Asheville Joe wrote:

> Here's the dmesg attached.  I scanned through it.  Didn't see anything 
> about hdb, but what is that jive near the beginning about "broken bios" ??
> 
> Joe
> 
> Cyber Source wrote:
> 
> > post the result of dmesg with the new drive in
> > On Thu, 2003-08-14 at 14:20, Asheville Joe wrote:
> >
> >>/OK.  What else is new?  I don't know how to run fdisk!  It seemed simple 
> >>enough, but below is my attempt.
> >>
> >>[root at localhost bigbird]# man fdisk
> >>[root at localhost bigbird]# fdisk /dev/hdb1
> >>
> >>Unable to open /dev/hdb1
> >>[root at localhost bigbird]# fdisk /dev/hdb
> >>
> >>Unable to open /dev/hdb
> >>[root at localhost bigbird]# mount /dev/hdb1 /mnt/removable
> >>mount: mount point /mnt/removable does not exist
> >>[root at localhost bigbird]# ls /mnt
> >>cdrom/  dos_hda1/  dos_hda5/  floppy/  removeable/  win_c2/  win_d2/  win_e/
> >>[root at localhost bigbird]# mount /dev/hdb1 removable
> >>mount: mount point removable does not exist
> >>[root at localhost bigbird]# man fdisk
> >>[root at localhost bigbird]# ls /dev/hd*
> >>/dev/hda@  /dev/hda1@  /dev/hda2@  /dev/hda5@  /dev/hda6@  /dev/hda7@  
> >>/dev/hda8@  /dev/hda9@  /dev/hdc@
> >>[root at localhost bigbird]#
> >>
> >>The other drive (4GB IDE) works fine when installed and is /dev/hdb1 
> >>(/mnt/removeable).  BTW, What are all these at signs for and what's 
> >>/dev/hdc?  Does it mean I got the hard drive jumper set wrong?
> >>
> >>Thanks,
> >>       Joe
> >>
> >>This is what cfdisk displays (with some whitespace deleted).
> >>
> >>                                  cfdisk 2.11x
> >>
> >>                                Disk Drive: /dev/hda
> >>                          Size: 30735581184 bytes, 30.7 GB
> >>                Heads: 255   Sectors per Track: 63   Cylinders: 3736
> >>
> >>Name        Flags       Part Type       FS Type [Label] ize (MB)
> >> --------------------------------------------------------------------
> >>hda1  Boot               Primary        Win95 FAT32 3668.48
> >>hda5                     Logical        Win95 FAT32 3553.33
> >>hda6                     Logical        Linux ext2    16.46
> >>hda7                     Logical        Linux ext3  6407.50
> >>hda8                     Logical        Linux swap   830.76
> >>hda9                     Logical        Linux ext3 16253.16
> >>
> >>Robert Meyer wrote:
> >>
> >>>Well, changing the line in fstab only makes it stop trying to fsck on the way
> >>>up.  All other file system things that you want to do, you still have to do.
> >>>
> >>>If you have a new drive and want to use it with linux, then you have to fdisk
> >>>it and do either 'mke2fs -j /dev/hdb1' or 'mke2fs /dev/hdb1' (journalled or
> >>>not) and then mount the drive.  I suspect that you can do that from the
> >>>mandrake control center.  This assumes you're going to make all one partition.
> >>>
> >>>Cheers!
> >>>
> >>>Bob
> >>>--- Asheville Joe <josephj at main.nc.us> wrote:
> >>>  
> >>>
> >>>>I was hoping it was something simple like that! I'll try that. Then 
> >>>>what? mkfs and it's cousins have a bunch of options I don't really 
> >>>>understand. Or will harddrake do it for me?
> >>>>
> >>>>Joe
> >>>>
> >>>>Robert Meyer wrote:
> >>>>
> >>>>    
> >>>>
> >>>>>It's bombing out 'cuz you're telling it to fsck the thing in your fstab.
> >>>>>
> >>>>>Change the fstab line to read:
> >>>>>/dev/hdb1 /mnt/removeable ext3 user,noauto,rw,suid,exec 0 0
> >>>>>
> >>>>>Hope this helps...
> >>>>>
> >>>>>Cheers!
> >>>>>
> >>>>>Bob
> >>>>>--- Asheville Joe <josephj at main.nc.us> wrote:
> >>>>> 
> >>>>>
> >>>>>      
> >>>>>
> >>>>>>Hi.  Linux 101 question:
> >>>>>>
> >>>>>>I bought a new hard drive (for use with my new - not purchased yet - 
> >>>>>>computer).
> >>>>>>
> >>>>>>I have two hard drives in my current computer, the main one (dual boot 
> >>>>>>Linux and WIN98), and one in a removable bay.
> >>>>>>
> >>>>>>I have the removable one (hdb1) set as noauto in fstab.
> >>>>>>
> >>>>>>So, I shut down my computer, pulled the old removable drive out and put 
> >>>>>>the new one in thinking it would boot up fine and let me figure out how 
> >>>>>>to format the new drive to ext3.
> >>>>>>
> >>>>>>Oh well!  Mandrake (9.1 RC2) sees the new drive, can't read it and gets 
> >>>>>>upset.  It will only boot into maintenance mode and I don't know enough 
> >>>>>>to proceed.  That wasn't too bad, but I thought that having it set to 
> >>>>>>noauto would have gotten me around this.
> >>>>>>
> >>>>>>So, I shutdown and removed the new drive then rebooted.  It still won't 
> >>>>>>let me past maintenance mode because it's missing it's beloved drive.
> >>>>>>
> >>>>>>Questions:
> >>>>>>1) How do I set up my computer so that it is happy whether or not hdb1 
> >>>>>>is there?
> >>>>>>
> >>>>>>2) How do I put the new drive in and format it (mkfs.ext3?)?  It's a 
> >>>>>>120GB IDE drive that I will probably use for media files and image 
> >>>>>>backups of the main drive on my new system when I get it.  (It will be 
> >>>>>>installed in the new computer - so Bob, don't yell at me for putting 
> >>>>>>more stuff in this old clunker. ;))
> >>>>>>
> >>>>>>3) If I want to rename my drives - e.g. from dos_hda1 to cdrive_hda1, 
> >>>>>>etc., do I have to do anything other than change the entries in 
> >>>>>>/etc/fstab?  Is there anything to watch out for?
> >>>>>>
> >>>>>>Thanks.
> >>>>>>
> >>>>>>Joe
> >>>>>>
> >>>>>>My /etc/fstab:
> >>>>>>
> >>>>>>/dev/hda7 / ext3 defaults 1 1
> >>>>>>/dev/hda6 /boot ext2 defaults 1 2
> >>>>>>none /dev/pts devpts mode=0620 0 0
> >>>>>>/dev/hda9 /home ext3 defaults 1 2
> >>>>>>none /mnt/cdrom supermount 
> >>>>>>dev=/dev/scd0,fs=auto,ro,--,iocharset=iso8859-1,codep
> >>>>>>age=850,umask=0 0 0
> >>>>>>/dev/hda1 /mnt/dos_hda1 vfat 
> >>>>>>iocharset=iso8859-1,codepage=850,umask=0,defaults 0
> >>>>>>0
> >>>>>>/dev/hda5 /mnt/dos_hda5 vfat 
> >>>>>>iocharset=iso8859-1,codepage=850,umask=0,defaults 0
> >>>>>>0
> >>>>>>none /mnt/floppy supermount 
> >>>>>>dev=/dev/fd0,fs=auto,--,iocharset=iso8859-1,sync,cod
> >>>>>>epage=850,umask=0 0 0
> >>>>>>/dev/hdb1 /mnt/removeable ext3 user,noauto,rw,suid,exec 1 2
> >>>>>>none /proc proc defaults 0 0
> >>>>>>/dev/hda8 swap swap defaults 0 0
> >>>>>>
> >>>>>>I shut down, put my old drive back in and it works as advertized.
> >>>>>>
> >>>>>>[root at localhost mnt]# mount /dev/hdb1 /mnt/removeable
> >>>>>>[root at localhost mnt]# cd removeable
> >>>>>>[root at localhost removeable]# ls
> >>>>>>[root at localhost removeable]# df
> >>>>>>Filesystem            Size  Used Avail Use% Mounted on
> >>>>>>/dev/hda7             5.9G  2.4G  3.2G  43% /
> >>>>>>/dev/hda6              16M  2.4M   13M  17% /boot
> >>>>>>/dev/hda9              15G  328M   15G   3% /home
> >>>>>>/dev/hda1             3.5G  2.3G  1.2G  66% /mnt/dos_hda1
> >>>>>>/dev/hda5             3.4G  876M  2.5G  26% /mnt/dos_hda5
> >>>>>>/dev/hdb1             4.0G   33M  3.7G   1% /mnt/removeable
> >>>>>>
> >>>>>>[root at localhost removeable]# cd ..
> >>>>>>[root at localhost mnt]# umount /dev/hdb1
> >>>>>>[root at localhost mnt]#
> >>>>>>
> >>>>>>   
> >>>>>>
> >>>>>>        
> >>>>>>
> >>>>>__________________________________
> >>>>>Do you Yahoo!?
> >>>>>Yahoo! SiteBuilder - Free, easy-to-use web site design software
> >>>>>//http://sitebuilder.yahoo.com
> >>>>>
> >>>>> 
> >>>>>
> >>>>>      
> >>>>>
> >>>
> >>>
> >>>__________________________________
> >>>Do you Yahoo!?
> >>>Yahoo! SiteBuilder - Free, easy-to-use web site design software
> >>>http://sitebuilder.yahoo.com
> >>>
> >>>  
> >>>/
> >>
> > -- Cyber Source <peter at thecybersource.com 
> > <mailto:peter at thecybersource.com>>
> >
> >
> >  
> >
> 
> 
> ______________________________________________________________________
> 
> 
> Linux version 2.4.21-0.11mdk (quintela at bi.mandrakesoft.com) (gcc version 3.2.2 (Mandrake Linux 9.1 3.2.2-2mdk)) #1 Fri Feb 28 13:51:48 CET 2003
> BIOS-provided physical RAM map:
>  BIOS-e820: 0000000000000000 - 000000000009f800 (usable)
>  BIOS-e820: 000000000009f800 - 00000000000a0000 (reserved)
>  BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved)
>  BIOS-e820: 0000000000100000 - 0000000008000000 (usable)
>  BIOS-e820: 00000000fff80000 - 0000000100000000 (reserved)
> 128MB LOWMEM available.
> ACPI: have wakeup address 0xc0001000
> On node 0 totalpages: 32768
> zone(0): 4096 pages.
> zone(1): 28672 pages.
> zone(2): 0 pages.
> Intel AL440LX with broken BIOS detected. The local APIC timer will not be used.
> Kernel command line: auto BOOT_IMAGE=linux ro root=307 quiet devfs=mount hdc=ide-scsi acpi=off
> ide_setup: hdc=ide-scsi
> Local APIC disabled by BIOS -- reenabling.
> Found and enabled local APIC!
> Initializing CPU#0
> Detected 266.679 MHz processor.
> Console: colour dummy device 80x25
> Calibrating delay loop... 532.48 BogoMIPS
> Memory: 126176k/131072k available (1410k kernel code, 4508k reserved, 1118k data, 136k init, 0k highmem)
> Dentry cache hash table entries: 16384 (order: 5, 131072 bytes)
> Inode cache hash table entries: 8192 (order: 4, 65536 bytes)
> Mount cache hash table entries: 512 (order: 0, 4096 bytes)
> Buffer-cache hash table entries: 8192 (order: 3, 32768 bytes)
> Page-cache hash table entries: 32768 (order: 5, 131072 bytes)
> CPU: L1 I cache: 16K, L1 D cache: 16K
> CPU: L2 cache: 512K
> Intel machine check architecture supported.
> Intel machine check reporting enabled on CPU#0.
> CPU:     After generic, caps: 0080fbff 00000000 00000000 00000000
> CPU:             Common caps: 0080fbff 00000000 00000000 00000000
> CPU: Intel Pentium II (Klamath) stepping 04
> Checking 'hlt' instruction... OK.
> POSIX conformance testing by UNIFIX
> enabled ExtINT on CPU#0
> ESR value before enabling vector: 00000000
> ESR value after enabling vector: 00000000
> mtrr: v1.40 (20010327) Richard Gooch (rgooch at atnf.csiro.au)
> mtrr: detected mtrr type: Intel
> ACPI: Subsystem revision 20030122
> ACPI: Disabled via command line (acpi=off)
> PCI: PCI BIOS revision 2.10 entry at 0xfd9cc, last bus=1
> PCI: Using configuration type 1
> PCI: Probing PCI hardware
> PCI: ACPI tables contain no PCI IRQ routing entries
> PCI: Probing PCI hardware (bus 00)
> PCI: Using IRQ router PIIX [8086/7110] at 00:07.0
> Limiting direct PCI/PCI transfers.
> isapnp: Scanning for PnP cards...
> isapnp: Card 'U.S. Robotics 56K Voice INT'
> isapnp: 1 Plug & Play card detected total
> Linux NET4.0 for Linux 2.4
> Based upon Swansea University Computer Society NET3.039
> Initializing RT netlink socket
> apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16)
> Starting kswapd
> VFS: Disk quotas vdquot_6.5.1
> devfs: v1.12c (20020818) Richard Gooch (rgooch at atnf.csiro.au)
> devfs: boot_options: 0x1
> vesafb: framebuffer at 0xf6000000, mapped to 0xc8800000, size 4096k
> vesafb: mode is 800x600x16, linelength=1600, pages=3
> vesafb: protected mode interface info at c000:4d86
> vesafb: scrolling: redraw
> vesafb: directcolor: size=0:5:6:5, shift=0:11:5:0
> Looking for splash picture.... found (800x600, 25593 bytes).
> Console: switching to colour frame buffer device 80x16
> fb0: VESA VGA frame buffer device
> pty: 256 Unix98 ptys configured
> Serial driver version 5.05c (2001-07-08) with HUB-6 MANY_PORTS MULTIPORT SHARE_IRQ SERIAL_PCI ISAPNP enabled
> ttyS00 at 0x03f8 (irq = 4) is a 16550A
> ttyS01 at port 0x02f8 (irq = 3) is a 16550A
> RAMDISK driver initialized: 16 RAM disks of 32000K size 1024 blocksize
> Uniform Multi-Platform E-IDE driver Revision: 7.00beta-2.4
> ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
> PIIX4: IDE controller at PCI slot 00:07.1
> PIIX4: chipset revision 1
> PIIX4: not 100% native mode: will probe irqs later
>     ide0: BM-DMA at 0xfc90-0xfc97, BIOS settings: hda:DMA, hdb:pio
>     ide1: BM-DMA at 0xfc98-0xfc9f, BIOS settings: hdc:DMA, hdd:pio
> hda: Maxtor 53073U6, ATA DISK drive
> blk: queue c03cb420, I/O limit 4095Mb (mask 0xffffffff)
> hdc: LITE-ON LTR-12101B, ATAPI CD/DVD-ROM drive
> ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
> ide1 at 0x170-0x177,0x376 on irq 15
> hda: host protected area => 1
> hda: 60030432 sectors (30736 MB) w/2048KiB Cache, CHS=3736/255/63, UDMA(33)
> Partition check:
>  /dev/ide/host0/bus0/target0/lun0: p1 p2 < p5 p6 p7 p8 p9 >
> md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
> md: Autodetecting RAID arrays.
> md: autorun ...
> md: ... autorun DONE.
> NET4: Linux TCP/IP 1.0 for NET4.0
> IP Protocols: ICMP, UDP, TCP, IGMP
> IP: routing cache hash table of 1024 buckets, 8Kbytes
> TCP: Hash tables configured (established 8192 bind 16384)
> Linux IP multicast router 0.06 plus PIM-SM
> NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
> RAMDISK: Compressed image found at block 0
> Freeing initrd memory: 108k freed
> VFS: Mounted root (ext2 filesystem).
> Mounted devfs on /dev
> Journalled Block Device driver loaded
> kjournald starting.  Commit interval 5 seconds
> EXT3-fs: mounted filesystem with ordered data mode.
> Mounted devfs on /dev
> Freeing unused kernel memory: 136k freed
> Real Time Clock Driver v1.10e
> usb.c: registered new driver usbdevfs
> usb.c: registered new driver hub
> usb-uhci.c: $Revision: 1.275 $ time 14:28:15 Feb 28 2003
> usb-uhci.c: High bandwidth mode enabled
> PCI: Found IRQ 11 for device 00:07.2
> usb-uhci.c: USB UHCI at I/O 0xfca0, IRQ 11
> usb-uhci.c: Detected 2 ports
> usb.c: new USB bus registered, assigned bus number 1
> hub.c: USB hub found
> hub.c: 2 ports detected
> usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
> usbdevfs: remount parameter error
> EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,7), internal journal
> hub.c: new USB device 00:07.2-1, assigned address 2
> hub.c: USB hub found
> hub.c: 7 ports detected
> Adding Swap: 811240k swap-space (priority -1)
> hub.c: new USB device 00:07.2-1.1, assigned address 3
> usb.c: USB device 3 (vend/prod 0x4a7/0x201) is not claimed by any active driver.
> hub.c: new USB device 00:07.2-1.2, assigned address 4
> usb.c: USB device 4 (vend/prod 0x573/0x4d00) is not claimed by any active driver.
> hub.c: new USB device 00:07.2-1.3, assigned address 5
> usb.c: USB device 5 (vend/prod 0x572/0x1) is not claimed by any active driver.
> i2c-core.o: i2c core module version 2.7.0 (20021208)
> i2c-algo-usb.o: i2c usb algorithm module
> Linux video capture interface: v1.00
> usb.c: registered new driver usbvision
> usbvision: HAUPPAUGE WINTV-USB USA found
> i2c-algo-usb.o: hw routines for usbvision #0 registered.
> inserting floppy driver for 2.4.21-0.11mdk
> Floppy drive(s): fd0 is 1.44M
> FDC 0 is a National Semiconductor PC87306
> SCSI subsystem driver Revision: 1.00
> scsi0 : SCSI host adapter emulation for IDE ATAPI devices
>   Vendor: LITE-ON   Model: LTR-12101B        Rev: LS39
>   Type:   CD-ROM                             ANSI SCSI revision: 02
> Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
> sr0: scsi3-mmc drive: 32x/32x writer cd/rw xa/form2 cdda tray
> Uniform CD-ROM driver Revision: 3.12
> kjournald starting.  Commit interval 5 seconds
> EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,9), internal journal
> EXT3-fs: mounted filesystem with ordered data mode.
> MSDOS FS: IO charset iso8859-1
> MSDOS FS: Using codepage 850
> MSDOS FS: IO charset iso8859-1
> MSDOS FS: Using codepage 850
> Linux Tulip driver version 0.9.15-pre12 (Aug 9, 2002)
> PCI: Found IRQ 9 for device 00:0e.0
> eth0: ADMtek Comet rev 17 at 0xf800, 00:20:78:05:A4:F4, IRQ 9.
> PCI: Found IRQ 9 for device 00:0f.0
> 3c59x: Donald Becker and others. www.scyld.com/network/vortex.html
> See Documentation/networking/vortex.txt
> 00:0f.0: 3Com PCI 3c900 Boomerang 10baseT at 0xfc40. Vers LK1.1.18-ac
>  00:60:08:aa:0a:94, IRQ 9
>   product code 4b46 rev 00.0 date 10-26-97
>   Internal config register is 302d8, transceivers 0xe108.
>   8K word-wide RAM 3:5 Rx:Tx split, 10baseT interface.
>   Enabling bus-master transmits and whole-frame receives.
> 00:0f.0: scatter/gather enabled. h/w checksums disabled
> Installing knfsd (copyright (C) 1996 okir at monad.swb.de).
> es1371: version v0.32 time 14:25:41 Feb 28 2003
> PCI: Found IRQ 10 for device 00:0d.0
> es1371: found chip, vendor id 0x1274 device id 0x1371 revision 0x08
> es1371: found es1371 rev 8 at io 0xfcc0 irq 10
> es1371: features: joystick 0x0
> ac97_codec: AC97  codec, id: TRA35 (TriTech TR A5)
> parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE,EPP]
> parport0: irq 7 detected
> parport0: Printer, HEWLETT-PACKARD DESKJET 895C
> lp0: using parport0 (polling).
> Splash status on console 0 changed to off
> hub.c: already running port 2 disabled by hub (EMI?), re-enabling...
> usb.c: USB disconnect on device 00:07.2-1.2 address 4
> i2c-algo-usb.o: adapter unregistered: usbvision #0
> usbvision_power_off
> USBVISION USB video disconnected.
> hub.c: new USB device 00:07.2-1.2, assigned address 6
> usbvision: HAUPPAUGE WINTV-USB USA found
> i2c-algo-usb.o: hw routines for usbvision #0 registered.
> CSLIP: code copyright 1989 Regents of the University of California
> PPP generic driver version 2.4.2
> PPP BSD Compression module registered
> PPP Deflate Compression module registered

-- 
Cyber Source <peter at thecybersource.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.nflug.org/pipermail/nflug/attachments/20030815/dfc245ce/attachment-0001.html


More information about the nflug mailing list