25.04.2024, 02:36 UhrDeutsch | English
Hallo Gast [ Registrierung | Anmelden ]

Neues Thema eröffnen   Neue Antwort erstellen
Vorheriges Thema anzeigen Druckerfreundliche Version Einloggen, um private Nachrichten zu lesen Nächstes Thema anzeigen
Autor Nachricht
nitto
Titel: moving kanotix from one hdd to another  BeitragVerfasst am: 22.09.2006, 13:55 Uhr



Anmeldung: 31. Jul 2006
Beiträge: 81
Wohnort: Melbourne
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

_________________
____________________________
The reasonable man adapts himself to the world;
The unreasonable man persists in trying to adapt the world to himself.
Therefore all progress depends on the unreasonable man. (George Bernard Shaw)
 
 Benutzer-Profile anzeigen Private Nachricht senden MSN Messenger  
Antworten mit Zitat Nach oben
Kano
Titel: RE: moving kanotix from one hdd to another  BeitragVerfasst am: 22.09.2006, 14:02 Uhr



Anmeldung: 17. Dez 2003
Beiträge: 16785

Delete this crap:

/dev/sda /media/sda reiserfs
/dev/sdb /media/sdb ntfs ro,umask=000 0 0

Run:

rebuildfstab
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
mzilikazi
Titel: Re: moving kanotix from one hdd to another  BeitragVerfasst am: 22.09.2006, 17:26 Uhr
Team Member
Team Member


Anmeldung: 17. Dez 2003
Beiträge: 1109
Wohnort: Ganymede
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

_________________
Ubuntu - An ancient African word for "Can't install Debian"
 
 Benutzer-Profile anzeigen Private Nachricht senden E-Mail senden Website dieses Benutzers besuchen  
Antworten mit Zitat Nach oben
nitto
19 Titel: Re: moving kanotix from one hdd to another  BeitragVerfasst am: 23.09.2006, 04:28 Uhr



Anmeldung: 31. Jul 2006
Beiträge: 81
Wohnort: Melbourne
mzilikazi hat folgendes geschrieben::

Are you positive it's not seen?
Code:
fdisk -l


Thanks Verlegen 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


_________________
____________________________
The reasonable man adapts himself to the world;
The unreasonable man persists in trying to adapt the world to himself.
Therefore all progress depends on the unreasonable man. (George Bernard Shaw)
 
 Benutzer-Profile anzeigen Private Nachricht senden MSN Messenger  
Antworten mit Zitat Nach oben
mzilikazi
Titel: Re: moving kanotix from one hdd to another  BeitragVerfasst am: 23.09.2006, 15:14 Uhr
Team Member
Team Member


Anmeldung: 17. Dez 2003
Beiträge: 1109
Wohnort: Ganymede
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.

_________________
Ubuntu - An ancient African word for "Can't install Debian"
 
 Benutzer-Profile anzeigen Private Nachricht senden E-Mail senden Website dieses Benutzers besuchen  
Antworten mit Zitat Nach oben
nitto
Titel: RE: Re: moving kanotix from one hdd to another  BeitragVerfasst am: 24.09.2006, 00:40 Uhr



Anmeldung: 31. Jul 2006
Beiträge: 81
Wohnort: Melbourne
yeap, not having used the partition number was the problem.
cfdisk then mkreiserfs for both sda1 and sdb1 worked like they should. Verlegen

Second issue: Is it possible to just move the Kanotix from one hdd to another?

_________________
____________________________
The reasonable man adapts himself to the world;
The unreasonable man persists in trying to adapt the world to himself.
Therefore all progress depends on the unreasonable man. (George Bernard Shaw)
 
 Benutzer-Profile anzeigen Private Nachricht senden MSN Messenger  
Antworten mit Zitat Nach oben
Swynndla
Titel: RE: Re: moving kanotix from one hdd to another  BeitragVerfasst am: 24.09.2006, 02:45 Uhr



Anmeldung: 05. Dez 2005
Beiträge: 414
Wohnort: Auckland, New Zealand
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.

_________________
Linux is evolution, not intelligent design - Linus Torvalds
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
clubex
Titel:   BeitragVerfasst am: 24.09.2006, 13:45 Uhr



Anmeldung: 30. Nov 2005
Beiträge: 91

Could you not use BootCD to create a bootable installation
CD?

http://www.debian-administration.org/articles/148
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
Beiträge vom vorherigen Thema anzeigen:     
Gehe zu:  
Alle Zeiten sind GMT + 1 Stunde
Neues Thema eröffnen   Neue Antwort erstellen
Vorheriges Thema anzeigen Druckerfreundliche Version Einloggen, um private Nachrichten zu lesen Nächstes Thema anzeigen
PNphpBB2 © 2003-2007 
 
Deutsch | English
Logos and trademarks are the property of their respective owners, comments are property of their posters, the rest is © 2004 - 2006 by Jörg Schirottke (Kano).
Consult Impressum and Legal Terms for details. Kanotix is Free Software released under the GNU/GPL license.
This CMS is powered by PostNuke, all themes used at this site are released under the GNU/GPL license. designed and hosted by w3you. Our web server is running on Kanotix64-2006.