Hi, Is there an easy and safe method of removing windoze from a second hard disc and then rearranging the drives? Windows is on hda and SuSE 7.3 is on hdb and I would really like to dump windows completely and then have 7.3 as hda and the windows drive as a backup etc. as hdb. I have looked at Yast and haven't found anything that I can readily understand, I have only been a Linux user for 6 months, so any help would be greatly appreciated. Thanks Mike Ayers
2002-06-15 12.58 skrev twopinkblobs@t-online.de: > Hi, > > Is there an easy and safe method of removing windoze from a second hard > disc and then rearranging the drives? Windows is on hda and SuSE 7.3 is on > hdb and I would really like to dump windows completely and then have 7.3 as > hda and the windows drive as a backup etc. as hdb. I have looked at Yast > and haven't found anything that I can readily understand, I have only been > a Linux user for 6 months, so any help would be greatly appreciated. > > Thanks > > Mike Ayers Assuming (just an example, Helge!)) that you have /windows mounted on /dev/hdb1 (check with the command "mount") and instead want /data as a reiser file-system on /dev/hdb1 instead. As root: 1. umount /windows 2. rmdir /windows 3. mkdir /data 4. mkreiserfs /dev/hdb1 5. edit /etc/fstab (if you don't know the vi editor run the program "vimtutor" NOW; it will teach you how to use vi in 40 minutes) so that the line that looked something like this: /dev/hdb1 /windows vfat user,umask=0000 0 0 looks like: /dev/hdb1 /data reiserfs defaults 1 2 (It doesn't have to be tabs between the words, spaces will do.) 6. mount -a Done! No need to reboot, upgrade to SuSE Servicepack 12p or anything suchlike. Isn't UNIX marvellous? Anders -- Heavy, adj.: Seduced by the chocolate side of the force.
KDE has a couple of nice editors, why VI? Why take 40 minutes to learn VI to do a 2 minute edit? Just my 2c. --doug At 13:15 06/15/2002 +0200, Anders Dahlqvist wrote: >2002-06-15 12.58 skrev twopinkblobs@t-online.de: >> Hi, >> >> Is there an easy and safe method of removing windoze from a second hard >> disc and then rearranging the drives? Windows is on hda and SuSE 7.3 is on >> hdb and I would really like to dump windows completely and then have 7.3 as >> hda and the windows drive as a backup etc. as hdb. I have looked at Yast >> and haven't found anything that I can readily understand, I have only been >> a Linux user for 6 months, so any help would be greatly appreciated. >> >> Thanks >> >> Mike Ayers >Assuming (just an example, Helge!)) that you have /windows mounted on >/dev/hdb1 (check with the command "mount") and instead want /data as a reiser >file-system on /dev/hdb1 instead. >As root: >1. umount /windows >2. rmdir /windows >3. mkdir /data >4. mkreiserfs /dev/hdb1 >5. edit /etc/fstab (if you don't know the vi editor run the program "vimtutor" >NOW; it will teach you how to use vi in 40 minutes) so that the line that >looked something like this: >/dev/hdb1 /windows vfat user,umask=0000 0 0 >looks like: >/dev/hdb1 /data reiserfs defaults 1 2 >(It doesn't have to be tabs between the words, spaces will do.) >6. mount -a > >Done! No need to reboot, upgrade to SuSE Servicepack 12p or anything suchlike. >Isn't UNIX marvellous? > >Anders >-- >Heavy, adj.: > Seduced by the chocolate side of the force. > > >-- >To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com >For additional commands send e-mail to suse-linux-e-help@suse.com >Also check the archives at http://lists.suse.com >
On Sat, Jun 15, 2002 at 09:56:21PM -0400, Doug McGarrett wrote:
KDE has a couple of nice editors, why VI? Why take 40 minutes to learn VI to do a 2 minute edit? Just my 2c. --doug
Because you will not always have the luxury of using KDE to edit files. What if you want to do a quick edit on a remote server and your only connection to it is through a ssh session? You need a good console edit utility and vi is available on pretty much every version of *nix you are likely to encounter. Believe me, the small investment in time will pay off. (I happen to like the nano editor, but I am glad I learned vi for it has served me well). Best Regards, Keith -- LPIC-2, MCSE, N+ Right behind you, I see the millions Got spam? Get spastic http://spastic.sourceforge.net
You don't always have KDE but you always have vi or vim. If you're running File/Web/DB server most likely it is runlevel 3 when X is not running and KDE is not available. What if you need to change something in a config. file. Will you change runlevel to 5, start KDE and use graphical editor? What if you need to telnet your box and edit config. file remotely? Will you export display, start KDE and fire up your favorite graphical editor on remote display? Too much work for 2 minute edit. Don't you think so? Alex On Saturday 15 June 2002 06:56 pm, Doug McGarrett wrote:
KDE has a couple of nice editors, why VI? Why take 40 minutes to learn VI to do a 2 minute edit? Just my 2c. --doug
-- MS Windows users should be covered under the Americans with Disabilities Act! --------------> Try Linux and you'll understand why <--------------
And, because the next release of KDE my provide kde-bindings to vim :) Op zondag 16 juni 2002 03:56, schreef Doug McGarrett:
KDE has a couple of nice editors, why VI? Why take 40 minutes to learn VI to do a 2 minute edit? Just my 2c. --doug
-- Richard Bos Without a home the journey is endless
On Sunday 16 June 2002 08:56, Doug McGarrett wrote: - (if you don't know the vi editor run the program "vimtutor" - >NOW; it will teach you how to use vi in 40 minutes) Cool. I needed this tutor as well and it's amazing how quickly you learn it. Now let's hope that I remember how to do it next time ;--) Anyway, this is a very good tip for newbies. Brian
On Saturday 15 June 2002 10:58 am, twopinkblobs@t-online.de wrote:
like to dump windows completely and then have 7.3 as hda and the windows drive as a backup etc. as hdb.
Anders knows { i do not } ~ maybe, unmount /dev/hda, then, make a small 50 mb partition /dev/hda1 for /boot ~ next, format the /boot part. with mke2fs -c /dev/hda1 , next format the rest of the hda with reiser file system. then, mount /dev/hda2 then cd to / on /dev/hdb and clone your SuSE to /mnt using <tar> like this :- tar clf - . | ( umask 0; cd /mnt; tar xvf - ) ....................................... final 2 steps : edit {maybe with editor <joe> which for me is easier} /etc/fstab [to reflect new, situation, and, edit /etc/lilo.conf lastly , rename /boot as /old_boot , mount /dev/hda1 /boot , copy old_boot to boot and, run <lilo> -- best wishes ____________ sent on Linux ____________
You can physically rearrange the drives in your computer, if you're up to that. Then you'd have to use the boot CD, and "boot from installed system", then install lilo at the beginning of that drive (with an updated lilo.conf, of course). Doug
Hi,
Is there an easy and safe method of removing windoze from a second hard disc and then rearranging the drives? Windows is on hda and SuSE 7.3 is on hdb and I would really like to dump windows completely and then have 7.3 as hda and the windows drive as a backup etc. as hdb. I have looked at Yast and haven't found anything that I can readily understand, I have only been a Linux user for 6 months, so any help would be greatly appreciated.
Thanks
Mike Ayers
On Saturday 15 June 2002 10:58 am, twopinkblobs@t-online.de wrote:
like to dump windows completely and then have 7.3 as hda and the windows drive as a backup etc. as hdb. On Saturday, 15 June 2002 10:32, Douglas Pichardo wrote: You can physically rearrange the drives in your computer, if you're up to that.
That was my first thought . There's not much to it: *Assuming* the drives are ATAPI/IDE. 1. Mark which cable goes to HD0 (now Windoze) and which goes to HD1 (now SuSE). Unplug the ribbon cables and the power cables. 2. Remove HD0. Move the jumper from MAster to SLave. Set aside. 3. Remove HD1. Move the jumper from SLave to MAster. Install where HD0 was. 4. Install the other drive where HD1 was. 5. Plug the cables to the proper drives. Now, SuSE is on HD0, and Win on HD1. Proceed with the instructions from Doug. -- Regards, gr, in /usually/ sunny, balmy Florida's Suncoast.
participants (10)
-
Alex Daniloff
-
Anders Dahlqvist
-
Brian Durant
-
Doug McGarrett
-
Douglas Pichardo
-
gilson redrick
-
Keith Winston
-
Richard Bos
-
tabanna
-
twopinkblobs@t-online.de