fosiul01
asked on
Alert ! /dev/sda2 does not exists (Debian 4.0)
hi
i need help!!
yesterday i copied linux system by using Knopix .
Server 1 ( Knopix) ( Source)
dd if=/dev/sda | nc 192.168.0.12 1234
Server 2 (knopix) (Destinatino)
nc -l -p 1234 | dd of=/dev/sda
now i boot the destination,
It starts to boot ..
then it drop me to shell as
=======================
Waitting for root file sytem
check root = bootarg /cat/proc/cmdline
or missing moduels, devices cat /proc/moudules ls /dev/
Alert /dev/sda2 does not exists
i boot this server with live Cd again
and it has
fidsk -l
-bash: fidsk: command not found
aeromarkcvs:~# fdisk -l
Disk /dev/sda: 80 GB, 64424509440 bytes
255 heads, 63 sectors/track, 7832 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 7590 7832 1951897+ 82 Linux swap / Solaris
/dev/sda2 * 1 7589 60958611 83 Linux
Partition table entries are not in disk order
What shall i do now ??
Please advise urgent
Bellow is my kernel :
title Debian GNU/Linux, kernel 2.6.24-etchnhalf.1-686
root (hd0,1)
kernel /boot/vmlinuz-2.6.24-etchn half.1-686 root=/dev/sda2 ro vga=788 acpi=off
initrd /boot/initrd.img-2.6.24-et chnhalf.1- 686
savedefault
title Debian GNU/Linux, kernel 2.6.24-etchnhalf.1-686 (single-user mode)
root (hd0,1)
kernel /boot/vmlinuz-2.6.24-etchn half.1-686 root=/dev/sda2 ro single
initrd /boot/initrd.img-2.6.24-et chnhalf.1- 686
savedefault
i need help!!
yesterday i copied linux system by using Knopix .
Server 1 ( Knopix) ( Source)
dd if=/dev/sda | nc 192.168.0.12 1234
Server 2 (knopix) (Destinatino)
nc -l -p 1234 | dd of=/dev/sda
now i boot the destination,
It starts to boot ..
then it drop me to shell as
=======================
Waitting for root file sytem
check root = bootarg /cat/proc/cmdline
or missing moduels, devices cat /proc/moudules ls /dev/
Alert /dev/sda2 does not exists
i boot this server with live Cd again
and it has
fidsk -l
-bash: fidsk: command not found
aeromarkcvs:~# fdisk -l
Disk /dev/sda: 80 GB, 64424509440 bytes
255 heads, 63 sectors/track, 7832 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 7590 7832 1951897+ 82 Linux swap / Solaris
/dev/sda2 * 1 7589 60958611 83 Linux
Partition table entries are not in disk order
What shall i do now ??
Please advise urgent
Bellow is my kernel :
title Debian GNU/Linux, kernel 2.6.24-etchnhalf.1-686
root (hd0,1)
kernel /boot/vmlinuz-2.6.24-etchn
initrd /boot/initrd.img-2.6.24-et
savedefault
title Debian GNU/Linux, kernel 2.6.24-etchnhalf.1-686 (single-user mode)
root (hd0,1)
kernel /boot/vmlinuz-2.6.24-etchn
initrd /boot/initrd.img-2.6.24-et
savedefault
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Please check the "Analyzing the problem" in that URL,
It might give you the clue for your issue.
Besides, compare before copying anything.
It might give you the clue for your issue.
Besides, compare before copying anything.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I just took a chance by chaning kernel input from /dev/sda2 to /dev/hda2
like bellow
/boot/vmlinuz-2.6.24-etchn half.1-686 root=/dev/sda2 ro vga=788 acpi=off
to
/boot/vmlinuz-2.6.24-etchn half.1-686 root=/dev/hda2 ro vga=788 acpi=off
it worked fine
like bellow
/boot/vmlinuz-2.6.24-etchn
to
/boot/vmlinuz-2.6.24-etchn
it worked fine
ASKER
thanks
ASKER
and it was nto any upgrade ..
but i will try to copy /boot directory from origial one to this server again.. let see if it helps.. but has doubt