View previous topic :: View next topic |
Author |
Message |
cioannou Tux's lil' helper


Joined: 16 Oct 2005 Posts: 82 Location: Greece
|
Posted: Sat Nov 03, 2007 11:12 pm Post subject: Replacement disk for Qube2 |
|
|
My old Qube2 disk started to make some strange noises so i thought it's time to change it.
Well, here are the steps i took:
a) I removed the old disk and mounted it in my primary gentoo system using a USB adapter
b) Made two tar.bz2 files , one for /boot and one for / .
c) I put the Qube Disk back inside the Qube and I also connected the new one as slave (hdb)
d) followed the handbook instructions and created the partitions on the new disk
( used "mke2fs -r0 /dev/hdb1" in order to make a revision 0 ext2 filesystem for /boot )
f) Untarred the files from step (b) to /boot and / respectively
g) removed the old disk from qube and left the new one inside.
h) reboot the machine
Colo 1.19 loaded but after a few seconds i got this strange message: ("Decompression failed")
Code: |
πCobalt Microserver Diagnostics - 'We serve it, you surf it'
Built Tue Dec 15 04:11:42 PST 1998
1.LCD Test................................PASS
2.Controller Test.........................PASS
5.Bank 0:.................................64M
6.Bank 1:.................................64M
7.Bank 2:.................................64M
8.Bank 3:.................................64M
9.Serial Test.............................PASS
10.PCI Expansion Slot....................**EMPTY**
12.IDE Test................................PASS
13.Ethernet Test...........................PASS
16.RTC Test................................PASS
Decompressing done
Decompressing \ done.
[ "CoLo" v1.19 ]
stage2: 8ffa0000-90000000
cpu: clock 250.000MHz
pci: unit type <Qube2>
tulip: #0 device 21143
tulip: #1 device 21143
tulip: {00:10:e0:00:20:54}
ide: resetting
boot: running boot menu
1> lcd 'Booting...'
1> mount
ide: {WDC WD800JB-00JJC0}
ide: LBA 156301488
ide: supports PIO mode 4
ide: mode 4 timing
ide: partition 1
ext2: revision 0
1> lcd 'Booting...' /dev/{mounted-volume}
1> -load /boot/default.colo
ext2: {boot/default.colo} --> {./default.colo}
00000089 137t
1> -script
2> -serial on
2> lcd 'Loading' 'Gentoo/MIPS'
2> mount hda1
ext2: revision 0
2> load /kernel-2.6.16.17.gz.new
00260695 2492053t
2> execute root=/dev/hda2 ro console=ttyS0,115200
decompression failed #2
script aborted <2>
|
I thought that it was my mistake so i repeated the procedure but this time I used my PC to fdisk and create the partitions on the new disk.
Exactly the same results and of course the old disk is booting and working normally. Any ideas? _________________ If windows fails, who you gonna call? Re-install...... |
|
Back to top |
|
 |
poly_poly-man Advocate


Joined: 06 Dec 2006 Posts: 2477 Location: RIT, NY, US
|
Posted: Sat Nov 03, 2007 11:21 pm Post subject: |
|
|
Might fix your problem: instead of tarring everything up, use dd to write directly from the old hard drive to the new (assuming the new is the same size or bigger). Or, if you can't get both hard drives on one computer at the same time, dd to an image (compress if you have to, I forget how and I'm too lazy to look it up... you can do it on the fly), and dd the image to the new disk. No worrying about making partitions, it'll come out exactly as you left it.
If your new drive is bigger than the old, either make a new partition in the free space, or strectch out the partition.
poly-p man _________________ iVBORw0KGgoAAAANSUhEUgAAA
avatar: new version of logo - see topic 838248. Potentially still a WiP. |
|
Back to top |
|
 |
cioannou Tux's lil' helper


Joined: 16 Oct 2005 Posts: 82 Location: Greece
|
Posted: Sun Nov 04, 2007 12:05 pm Post subject: |
|
|
Thanks for the tip, i tried DD to duplicate , it manages to "decompress" and load the kernel now, but........., here are the results.
Code: |
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 112k freed
Warning: unable to open an initial console.
Kernel panic - not syncing: No init found. Try passing init= option to kernel.
|
I am going crazy with all this, how can this be happening? _________________ If windows fails, who you gonna call? Re-install...... |
|
Back to top |
|
 |
poly_poly-man Advocate


Joined: 06 Dec 2006 Posts: 2477 Location: RIT, NY, US
|
Posted: Sun Nov 04, 2007 12:49 pm Post subject: |
|
|
...whoops... did you only dd over /dev/hda1?
try (for example, if your drives are hda and hdb) dd=/dev/hda of=/dev/hdb (without numbers).
If that is what you did, then can you show me what the "p" command in fdisk says about the new drive? Also, try fscking the partitions on the drive.
poly-p man _________________ iVBORw0KGgoAAAANSUhEUgAAA
avatar: new version of logo - see topic 838248. Potentially still a WiP. |
|
Back to top |
|
 |
cioannou Tux's lil' helper


Joined: 16 Oct 2005 Posts: 82 Location: Greece
|
Posted: Sun Nov 04, 2007 4:29 pm Post subject: |
|
|
Thanks again for the reply, no I didn't DD only hda1.
Finally problem is fixed, steps that worked:
1) dd /hda1 /hdb1
2) fdisk to create / partition (hdb2) and swap
3) untar / partition backup to hdb2
4) reboot
Phew, worked! _________________ If windows fails, who you gonna call? Re-install...... |
|
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
|
|