kanotix.com
Hardware - moving kanotix from one hdd to another
nitto - 22.09.2006, 13:55 Uhr
Titel: moving kanotix from one hdd to another
What is the best and fastest way to move my current Kanotix installation on my older ide hdd over to a new sata hdd without loosing any data?
I had another sata hdd that I didn't touch since it had a lot of back up files.... so now my hdd configuration :
-sata 320gb formated as reiserfs as the first hdd
(Kanotix sees this as "sda")
-sata 200gb formated as ntfs with 90gb back up files
(which should be "sdb" but kanotix doesn't see it at all)
-ide 80gb where Kanotix lives (set up as hdg)
I can't seem to be able to access my ntfs formated "sdb" so I can't do a back up either...
Below is my /etc/fstab"
Code:
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
usbfs /proc/bus/usb usbfs devmode=0666 0 0
/dev/hdg1 / reiserfs defaults 0 1
/dev/hdg2 /home reiserfs
reiserfs defaults 0 2
/dev/hdg3 /data reiserfs
reiserfs defaults 0 2
/dev/hdg4 none swap sw 0 0
/dev/sda /media/sda reiserfs
/dev/sdb /media/sdb ntfs ro,umask=000 0 0
/dev/cdrom /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
Kano - 22.09.2006, 14:02 Uhr
Titel: RE: moving kanotix from one hdd to another
Delete this crap:
/dev/sda /media/sda reiserfs
/dev/sdb /media/sdb ntfs ro,umask=000 0 0
Run:
rebuildfstab
mzilikazi - 22.09.2006, 17:26 Uhr
Titel: Re: moving kanotix from one hdd to another
nitto hat folgendes geschrieben::
-sata 200gb formated as ntfs with 90gb back up files
(which should be "sdb" but kanotix doesn't see it at all)
Are you positive it's not seen?
Code:
fdisk -l
nitto - 23.09.2006, 04:28 Uhr
Titel: Re: moving kanotix from one hdd to another
mzilikazi hat folgendes geschrieben::
Are you positive it's not seen?
Code:
fdisk -l
Thanks fdisk seems to id the three hdd I have:
hdg where kanotix lives
sda is the new hdd
sdb is ntfs and where winxp back up files are
However, I can't seem to get the new hdd to format to its full capacity as 320gb!
To get the new hdd initilialize as 320gb, I first used :
cfdisk /dev/sda
then
mkreiserfs /dev/sda
when I log as root, using krusader, I can only see under /media/
/media/floppy
/media/cdrom
/media/sda1 - ? only few kb in size
/media/sda2 - ? about 17gb in size
/media/sdb1 - seems to be the "sdb" where the ntfs files live
Can I get some assistance with backing up some of the files from sdb to sda then move Kanotix from hdg to sda.
cheers
Below are fdisk -l output and my /etc/fstab
Code:
>fdisk-l
Disk /dev/hdg: 80.0 GB, 80026361856 bytes
...
Device Boot Start End Blocks Id System
/dev/hdg1 1 2190 17591143+ 83 Linux
/dev/hdg2 2191 4625 19559137+ 83 Linux
/dev/hdg3 4626 9670 40523962+ 83 Linux
/dev/hdg4 9671 9729 473917+ 82 Linux swap
Disk /dev/sda: 320.0 GB, 320072933376 bytes
...
Disk /dev/sda doesn't contain a valid partition table
Disk /dev/sdb: 200.0 GB, 200049647616 bytes
...
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 24320 195350368+ 7 HPFS/NTFS
/dev/sdb2 24321 24320 2147483616+ 7 HPFS/NTFS
Code:
> fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
usbfs /proc/bus/usb usbfs devmode=0666 0 0
/dev/hdg1 / reiserfs defaults 0 1
/dev/hdg2 /home reiserfs
reiserfs defaults 0 2
/dev/hdg3 /data reiserfs
reiserfs defaults 0 2
/dev/hdg4 none swap sw 0 0
/dev/cdrom /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
/tmp/app/1/image /tmp/app/1 cramfs,iso9660 user,noauto,ro,loop,exec 0 0
/tmp/app/2/image /tmp/app/2 cramfs,iso9660 user,noauto,ro,loop,exec 0 0
/tmp/app/3/image /tmp/app/3 cramfs,iso9660 user,noauto,ro,loop,exec 0 0
/tmp/app/4/image /tmp/app/4 cramfs,iso9660 user,noauto,ro,loop,exec 0 0
/tmp/app/5/image /tmp/app/5 cramfs,iso9660 user,noauto,ro,loop,exec 0 0
/tmp/app/6/image /tmp/app/6 cramfs,iso9660 user,noauto,ro,loop,exec 0 0
/tmp/app/7/image /tmp/app/7 cramfs,iso9660 user,noauto,ro,loop,exec 0 0
# Added by KANOTIX
/dev/sda1 /media/sda1 reiserfs noauto,users,exec 0 0
# Added by KANOTIX
/dev/sda2 /media/sda2 reiserfs noauto,users,exec 0 0
# Added by KANOTIX
/dev/sdb1 /media/sdb1 ntfs noauto,users,exec,ro,umask=000 0 0
mzilikazi - 23.09.2006, 15:14 Uhr
Titel: Re: moving kanotix from one hdd to another
nitto hat folgendes geschrieben::
then
mkreiserfs /dev/sda
Well that you should never do! Sure you can write a filesystem to an entire drive but it needs partitions! You should always have a partition number.
Code:
mkreiserfs /dev/sda1
for example not just /dev/sda.
nitto - 24.09.2006, 00:40 Uhr
Titel: RE: Re: moving kanotix from one hdd to another
yeap, not having used the partition number was the problem.
cfdisk then mkreiserfs for both sda1 and sdb1 worked like they should.
Second issue: Is it possible to just move the Kanotix from one hdd to another?
Swynndla - 24.09.2006, 02:45 Uhr
Titel: RE: Re: moving kanotix from one hdd to another
Yea it is, but you'd have to edit your /etc/fstab and /boot/grub/menu.lst ... and depending on what you are doing you may also have to reinstall grub to the mbr of the new hard drive.
clubex - 24.09.2006, 13:45 Uhr
Titel:
Could you not use BootCD to create a bootable installation
CD?
http://www.debian-administration.org/articles/148
Alle Zeiten sind GMT + 1 Stunde
PNphpBB2 © 2003-2007