restoring FC1 to *new* partition from tar archive

Joe(theWordy)Philbrook jtwdyp at ttlc.net
Sat May 8 19:37:46 UTC 2004


Hi I've just had to relocate my FC1 to a different partition. I used
tar...  And I'm hoping I did this well enough for it to survive when I
eventually use anaconda to upgrade to FC2.

Would someone tell me if I did this right?  I've usually only done this
kind of thing with partimage. But not all of my partitions are the same
exact size so I thought I'd learn to use tar.

I was concerned about files being updated during the tar -czf process
however, so I booted my mdk9.1 partition, and used mkfs on the new FC1
partition to ensure a clean ext2 file system. Then I and mounted the old
and new FC1 partitions.

next I did a cd to the old FC1's mount point and:

# tar -czf /archivepath/tarfilename.tgz .

Tar said it was skipping some sockets, which I wasn't sure about, but all
of them were in /tmp so I figured they couldn't be that important...

Then I did a cd to the new FC1 mount point and:

# tar -xpzf /archivepath/tarfilename.tgz .

The timezone is misconfigured in the mdk installation so tar gave me some
warnings about some timestamps being many seconds in the future, but I
didn't see that as a problem...

Then I edited the new fedora's /etc/fstab & /etc/lilo.conf & a
few scripts, plus my mdk's lilo.conf. Then did a lilo -b /dev/hda
and booted the NEW FC1 partition...

FC1 booted successfully in it's new home. Everything seams to be working
correctly (so far) or at least as correctly as it was from the old
partition. Including x.

But just before the run level 3 boot prompt there are a few warning
messages I don't get time to read before the boot prompt steps on them. 
No problem I thinks. <shift>+<page up> But while most of the boot screen
messages are there, the error messages I'm looking for which were near
the bottom are not there. (I looked at dmesg and didn't see them, but
thats the topic of a different messaage...) However, in case it tells you
more than it does me, about how successful this restoration was, I'm
attaching a copy of the file I got with # dmesg > dmesg_FC1_hdc3_tar.txt

Additionally I notice that while I'm running x, If I <ctrl>+<alt>+<F1>
back to the console I typed startx in, the screen id full of nearly identical
error messages differing only in a sequential number. 
The last one says:

Invalid entry (missing '=') at /usr/bin/pam-panel-icon:115

Though it is possible that this may have been so on the old partition also...

Still, should I worry about these???

 
Thanks!


-- 
|      ?           ?		
|			
|        -=-   -=-	 I'm NOT clueless...    	
|        <?>   <?>    	But I just don't know.  	
|            ^          Joe (theWordy) Philbrook           
|           ---  	     J(tWdy)P
|			  <jtwdyp at ttlc.net> 
|      ?           ?		
-------------- next part --------------
Linux version 2.4.22-1.2188.nptl (bhcompile at daffy.perf.redhat.com) (gcc version 3.2.3 20030422 (Red Hat Linux 3.2.3-6)) #1 Wed Apr 21 20:36:05 EDT 2004
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
 BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 000000000fff0000 (usable)
 BIOS-e820: 000000000fff0000 - 000000000fff8000 (ACPI data)
 BIOS-e820: 000000000fff8000 - 0000000010000000 (ACPI NVS)
 BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved)
 BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
 BIOS-e820: 00000000fff80000 - 0000000100000000 (reserved)
0MB HIGHMEM available.
255MB LOWMEM available.
ACPI: have wakeup address 0xc0001000
On node 0 totalpages: 65520
zone(0): 4096 pages.
zone(1): 61424 pages.
zone(2): 0 pages.
ACPI disabled because your bios is from 97                         and too old
You can enable it with acpi=force
ACPI: RSDP (v000 AMI                                       ) @ 0x000fc9a0
ACPI: RSDT (v001 AMIINT          0x00000011 MSFT 0x00000097) @ 0x0fff0000
ACPI: FADT (v001 AMIINT          0x00000011 MSFT 0x00000097) @ 0x0fff0030
ACPI: MADT (v001 AMIINT AMIINT09 0x00000009 MSFT 0x00000097) @ 0x0fff00b0
ACPI: DSDT (v001    VIA APOLLO-P 0x00001000 MSFT 0x0100000d) @ 0x00000000
Kernel command line: BOOT_IMAGE=theJourney ro root=1603 hdb=ide-scsi
ide_setup: hdb=ide-scsi
Initializing CPU#0
Detected 1135.948 MHz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 2267.54 BogoMIPS
Memory: 255312k/262080k available (1473k kernel code, 6380k reserved, 1099k data, 136k init, 0k highmem)
Dentry cache hash table entries: 32768 (order: 6, 262144 bytes)
Inode cache hash table entries: 16384 (order: 5, 131072 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 16384 (order: 4, 65536 bytes)
Page-cache hash table entries: 65536 (order: 6, 262144 bytes)
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 256K
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(R) Pentium(R) III CPU             1133MHz stepping 01
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
mtrr: v1.40 (20010327) Richard Gooch (rgooch at atnf.csiro.au)
mtrr: detected mtrr type: Intel
ACPI: Subsystem revision 20031002
ACPI: Interpreter disabled.
PCI: PCI BIOS revision 2.10 entry at 0xfdb51, last bus=1
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
PCI: Using IRQ router VIA [1106/0686] at 00:07.0
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
apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16)
Starting kswapd
VFS: Disk quotas vdquot_6.5.1
pty: 2048 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS MULTIPORT SHARE_IRQ SERIAL_PCI ISAPNP enabled
ttyS0 at 0x03f8 (irq = 4) is a 16550A
ttyS1 at 0x02f8 (irq = 3) is a 16550A
Real Time Clock Driver v1.10e
NET4: Frame Diverter 0.46
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: IDE controller at PCI slot 00:07.1
VP_IDE: chipset revision 6
VP_IDE: not 100% native mode: will probe irqs later
VP_IDE: VIA vt82c686b (rev 40) IDE UDMA100 controller on pci00:07.1
    ide0: BM-DMA at 0xff00-0xff07, BIOS settings: hda:DMA, hdb:DMA
    ide1: BM-DMA at 0xff08-0xff0f, BIOS settings: hdc:DMA, hdd:DMA
hda: ST340810A, ATA DISK drive
hdb: CD-RW IDE2410, ATAPI CD/DVD-ROM drive
blk: queue c0402f40, I/O limit 4095Mb (mask 0xffffffff)
hdc: Maxtor 6Y060L0, ATA DISK drive
hdd: DVD-ROM OEM316B, ATAPI CD/DVD-ROM drive
blk: queue c040339c, I/O limit 4095Mb (mask 0xffffffff)
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: attached ide-disk driver.
hda: host protected area => 1
hda: 78165360 sectors (40021 MB) w/2048KiB Cache, CHS=4865/255/63, UDMA(100)
hdc: attached ide-disk driver.
hdc: host protected area => 1
hdc: 120103200 sectors (61493 MB) w/2048KiB Cache, CHS=119150/16/63, UDMA(100)
Partition check:
 hda: hda1 hda2 < hda5 hda6 hda7 > hda3 hda4
 hdc: [PTBL] [7476/255/63] hdc1 hdc2 < hdc5 hdc6 hdc7 hdc8 hdc9 hdc10 hdc11 > hdc3 hdc4
ide: late registration of driver.
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
Initializing Cryptographic API
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 2048 buckets, 16Kbytes
TCP: Hash tables configured (established 16384 bind 32768)
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: 96k freed
VFS: Mounted root (ext2 filesystem).
Freeing unused kernel memory: 136k freed
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb-uhci.c: $Revision: 1.275 $ time 20:51:25 Apr 21 2004
usb-uhci.c: High bandwidth mode enabled
PCI: Found IRQ 5 for device 00:07.3
PCI: Sharing IRQ 5 with 00:07.2
PCI: Sharing IRQ 5 with 00:11.0
usb-uhci.c: USB UHCI at I/O 0xd000, IRQ 5
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
PCI: Found IRQ 5 for device 00:07.2
PCI: Sharing IRQ 5 with 00:07.3
PCI: Sharing IRQ 5 with 00:11.0
usb-uhci.c: USB UHCI at I/O 0xcc00, IRQ 5
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 2
hub.c: USB hub found
hub.c: 2 ports detected
usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
usb.c: registered new driver hiddev
usb.c: registered new driver hid
hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik <vojtech at suse.cz>
hid-core.c: USB HID support drivers
mice: PS/2 mouse device common for all mice
Adding Swap: 955828k swap-space (priority -1)
Adding Swap: 554200k swap-space (priority -2)
hub.c: new USB device 00:07.2-2, assigned address 2
usb.c: USB device 2 (vend/prod 0x5d8/0x4005) is not claimed by any active driver.
hdd: attached ide-cdrom driver.
hdd: ATAPI 48X DVD-ROM drive, 512kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.12
SCSI subsystem driver Revision: 1.00
hdb: attached ide-scsi driver.
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
  Vendor: CDWRITER  Model: IDE2410           Rev: A.23
  Type:   CD-ROM                             ANSI SCSI revision: 02
IA-32 Microcode Update Driver: v1.11 <tigran at veritas.com>
microcode: CPU0 no microcode found! (sig=6b1, pflags=16)
parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE]
parport0: Printer, hp deskjet 5600
parport_pc: Via 686A parallel port: io=0x378
Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
sr0: scsi3-mmc drive: 0x/40x writer cd/rw xa/form2 cdda tray
inserting floppy driver for 2.4.22-1.2188.nptl
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
Intel(R) PRO/100 Network Driver - version 2.3.18-k1
Copyright (c) 2003 Intel Corporation

PCI: Found IRQ 5 for device 00:11.0
PCI: Sharing IRQ 5 with 00:07.3
PCI: Sharing IRQ 5 with 00:07.2
divert: allocating divert_blk for eth0
e100: selftest OK.
e100: eth0: Intel(R) PRO/100 Network Connection
  Hardware receive checksums enabled
  cpu cycle saver enabled

divert: freeing divert_blk for eth0
ip_tables: (C) 2000-2002 Netfilter core team
ip_conntrack version 2.1 (2047 buckets, 16376 max) - 292 bytes per conntrack
Intel(R) PRO/100 Network Driver - version 2.3.18-k1
Copyright (c) 2003 Intel Corporation

PCI: Found IRQ 5 for device 00:11.0
PCI: Sharing IRQ 5 with 00:07.3
PCI: Sharing IRQ 5 with 00:07.2
divert: allocating divert_blk for eth0
e100: selftest OK.
e100: eth0: Intel(R) PRO/100 Network Connection
  Hardware receive checksums enabled
  cpu cycle saver enabled

parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE]
parport0: Printer, hp deskjet 5600
parport_pc: Via 686A parallel port: io=0x378
lp0: using parport0 (polling).
lp0: console ready
Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 203M
agpgart: Detected Via Apollo Pro chipset
agpgart: AGP aperture is 64M @ 0xe0000000
[drm] AGP 0.99 Aperture @ 0xe0000000 64MB
[drm] Initialized r128 2.2.0 20010917 on minor 0
Via 686a/8233/8235 audio driver 1.9.1-ac3
PCI: Found IRQ 10 for device 00:07.5
PCI: Setting latency timer of device 00:07.5 to 64
ac97_codec: AC97 Audio codec, id: ICE17 (ICE1232)
via82cxxx: board #1 at 0xDC00, IRQ 10
Enabled Via MIDI
via_audio: ignoring drain playback error -11
via_audio: ignoring drain playback error -11
via_audio: ignoring drain playback error -11
via_audio: ignoring drain playback error -11
via_audio: ignoring drain playback error -11
via_audio: ignoring drain playback error -11
via_audio: ignoring drain playback error -11
via_audio: ignoring drain playback error -11
via_audio: ignoring drain playback error -11
via_audio: ignoring drain playback error -11
via_audio: ignoring drain playback error -11


More information about the fedora-list mailing list