Professional Web Applications Themes

install second hd - Linux Setup, Configuration & Administration

I have a dual boot system with RH8.0 and Win XP on a 20G HD. I want to add a 40G HD for RH and leave the Win XP on the 20G. I really don't have that many files I want to copy over and in fact I want to start with a new install on the 2nd HD to get rid of a lot of stuff and just copy a few files over. Then erase RH off the 1st HD. I think I can do the following: 1. Remove the 1st HD and install RH on the 2nd HD. ...

  1. #1

    Default install second hd

    I have a dual boot system with RH8.0 and Win XP on a 20G HD. I want
    to add a 40G HD for RH and leave the Win XP on the 20G. I really
    don't have that many files I want to copy over and in fact I want to
    start with a new install on the 2nd HD to get rid of a lot of stuff
    and just copy a few files over. Then erase RH off the 1st HD. I
    think I can do the following:

    1. Remove the 1st HD and install RH on the 2nd HD.
    2. Then put the first HD back in and have both on the same controller.
    3. Since the boot is already on the 20G (/dev/hda1), leave it there.
    4. Set the 40G HD as a slave to the first.
    5. And here is where I get confused - configure fstab to read the
    second HD - any examples?
    6. Copy what I want off RH on the 1st HD to the 2nd.
    7. Repartition the 1st HD using parttion magic to erase the RH
    partition.
    8. On boot, pick which operating system and go.

    I know it isn't that simple. Could someone please fill in some of the
    blanks?

    Bob C
    Bob Guest

  2. #2

    Default Re: install second hd

    On 8 Oct 2003 06:39:44 -0700, Bob C wrote: 

    If it was me, I would:
    o install the 40g and verify that the bios and fdisk sees it.
    o use e2label to change labels on redhat partitions so new install
    does not get confused. cat /etc/fstab for old label/partition names.
    o Install on 40g.
    o delete hda swap and create one on hdb.
    o Boot new redhat install
    o mkdir /mnt/old_drive
    o mount -t auto /dev/hdaX /mnt/old_drive (you solve for X)
    o cp /mnt/old_drive/some/old/files /to/somewhere/else
    o Then delete old partitions with PM or fdisk.
    Bit Guest

  3. #3

    Default Re: install second hd

    Bob C wrote: 

    Why remove the harddisk linux is well capable to work with multiple
    harddisks.
     

    why fstab??

    just mount with the mount command, much easier for a single purpose.
     

    Just put the second harddisk in and fdisk it, make sure you make a swap
    on your 2nd disk.
    install RH and reboot, make sure you reconfigure lilo so it knows you've
    got a new bootoption
    boot into the new RH and copy the files. remove the entries of the old
    partition sfrom your /etc/fstab and you can repartition HD1 by using
    Partition magic.

    Something to consider:
    - create a small partition (50 MB) on your first HD as /boot (where you
    put the kernel), some pc's (like mine) have problem booting the kernel
    from a second (large) HD.

    --
    Pim 'WWWebMaster' Vullers //// http://www.vullersnet.tk
    com ( ) nl
    ---------------------------------oOO--(_)--OOo--------------------------

    Pim Guest

  4. #4

    Default Re: install second hd

    Bob C wrote:
     

    ..... just clone another entry and change the partition info,
    so instead of /dev/hda?, you'll have /dev/hdb?
    ..
    --
    /// Michael J. Tobler: motorcyclist, surfer, skydiver, \\\
    \\\ and author: "Inside Linux", "C++ HowTo", "C++ Unleashed" ///
    \\\ http://pages.sbcglobal.net/mtobler/mjt_linux_page.html ///
    Adult, n.: One old enough to know better.

    mjt Guest

  5. #5

    Default Re: install second hd

    com (Bob C) wrote in message news:<google.com>... 

    Thanks for the replys. All I had to do was install the HD and redhat
    did the rest. Recognized everything and set up grub the way I wanted.
    All I have to do is delete the old setup when ready.

    Bob
    Bob Guest

  6. #6

    Default Re: install second hd

    com (Bob C) wrote in message news:<google.com>... 

    Thanks for the replys. All I had to do was install the HD and redhat
    did the rest. Recognized everything and set up grub the way I wanted.
    All I have to do is delete the old setup when ready.

    Bob
    Bob Guest

  7. #7

    Default Re: install second hd

    com (Bob C) wrote in message news:<google.com>... 

    Thanks for the replys. All I had to do was install the HD and redhat
    did the rest. Recognized everything and set up grub the way I wanted.
    All I have to do is delete the old setup when ready.

    Bob
    Bob Guest

  8. #8

    Default Re: install second hd

    Bob C wrote:
     

    ..... please Bob, tell us ONE MORE TIME :)
    ..
    --
    /// Michael J. Tobler: motorcyclist, surfer, skydiver, \\\
    \\\ and author: "Inside Linux", "C++ HowTo", "C++ Unleashed" ///
    "When are you BUTTHEADS gonna learn that you can't oppose
    Gestapo tactics *with* Gestapo tactics?" - Reuben Flagg

    mjt Guest

Similar Threads

  1. #40201 [NEW]: Fails to install, missing components of the install.Tried several site mirrors.
    By cdgittler at interact dot ccsd dot net in forum PHP Bugs
    Replies: 2
    Last Post: February 7th, 04:47 PM
  2. Replies: 0
    Last Post: January 23rd, 10:30 AM
  3. #21593 [Fbk->NoF]: make install:install-pear-* rules segfault
    By sniper@php.net in forum PHP Development
    Replies: 0
    Last Post: October 4th, 05:27 AM
  4. Replies: 0
    Last Post: September 28th, 08:28 PM
  5. Replies: 0
    Last Post: September 28th, 03:40 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139