Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14

Thread: Moving SLED 11 SP1 from primary to extended partition

  1. #11
    iani2004 NNTP User

    Re: Moving SLED 11 SP1 from primary to extended partition


    -You're really making me stay in SLED, use as little Win (in its little
    virtual box) as possible, keep in mind CrossOver Pro for other stuff
    like MS Office and learn Linux.-


    Please review:
    - replace hard drive with one that matches power specs, physical size
    and connectors
    - boot notebook from Win7 cd/dvd and install it. It will automatically
    create the 1st primary partition of 100 MB and the 2nd one with the rest
    GBs or custom size.
    - boot notebook from a LiveCD and shrink second partition using parted
    and create extended with 5 logical partitions of the same block size
    (any tips?) for "recovery", "HP_TOOLS", "swap", "root" and something for
    "home"
    - duplicate the original data to those partitions using dd (connecting
    both hard drives...)
    ...


    --
    iani2004
    ------------------------------------------------------------------------
    iani2004's Profile: http://forums.novell.com/member.php?userid=122633
    View this thread: http://forums.novell.com/showthread.php?t=450761


  2. #12
    malcolmlewis NNTP User

    Re: Moving SLED 11 SP1 from primary to extended partition

    On Tue, 17 Jan 2012 22:16:02 GMT
    iani2004 <iani2004@no-mx.forums.novell.com> wrote:

    >
    > -You're really making me stay in SLED, use as little Win (in its
    > little virtual box) as possible, keep in mind CrossOver Pro for other
    > stuff like MS Office and learn Linux.-
    >
    >
    > Please review:
    > - replace hard drive with one that matches power specs, physical size
    > and connectors
    > - boot notebook from Win7 cd/dvd and install it. It will automatically
    > create the 1st primary partition of 100 MB and the 2nd one with the
    > rest GBs or custom size.
    > - boot notebook from a LiveCD and shrink second partition using parted
    > and create extended with 5 logical partitions of the same block size
    > (any tips?) for "recovery", "HP_TOOLS", "swap", "root" and something
    > for "home"



    I would reboot into windows if you resize it so it sorts itself out for
    the resized partition.

    > - duplicate the original data to those partitions using dd (connecting
    > both hard drives...)
    > ..


    I would look at getting a 4GB usb device to put the recovery image and
    hp tools on as they are not likely to be used with the new setup?

    So you only will need three in the extended partition. I would create
    the / first then the /home to the same size, then again boot parted and
    expand /home out to the max (since you don't include hp tools and
    recovery) less your swap then create the swap.

    Now there are still some things that need to be adjusted after the
    change before things will boot;
    Code:
    /boot/grub/menu.lst
    /boot/grub/device.map
    /etc/fstab
    These need to be adjusted for the new drive.

    You also need to ensure the linux partitions are set to the correct
    file system types and also set the boot flag on the extended partition.

    --
    Cheers Malcolm °¿° (Linux Counter #276890)
    openSUSE 12.1 (x86_64) Kernel 3.1.0-1.2-desktop
    up 1 day 8:25, 6 users, load average: 0.01, 0.04, 0.12
    CPU Intel i5 CPU M520@2.40GHz | Intel Arrandale GPU


  3. #13
    iani2004 NNTP User

    Re: Moving SLED 11 SP1 from primary to extended partition


    malcolmlewis;2168630 Wrote:
    >
    > >

    > I would look at getting a 4GB usb device to put the recovery image and
    > hp tools on as they are not likely to be used with the new setup?
    >


    And if I want back the things as they were when I bought the notebook,
    all I have to do is put back the original hard drive that wasn't
    modified at all.
    Nice solution. Thank you.


    -Two more scenarios inside this thread-

    A. If we ignore Win7 restrictions (those 2 primary partitions), moving
    SLED from primary to extended would be like this?
    - resize "home"
    - create another logical partition for the root (same size or bigger)
    - dd files there
    - adjusting grub to the extended partition (menu.lst, device.map,
    fstab)
    - move the boot flag from the old root to the new one

    B. I've read on the web that moving the "recovery" partition makes the
    recovery option disappear from boot options, so on the new hard drive
    "restore factory settings" and "HP Tools" wouldn't be there.
    Using dd to copy data from the "recovery" partition to a partition that
    starts at the right point on another hard drive (probably the exact same
    model and not the one with Win7&SLED) would do the trick?


    --
    iani2004
    ------------------------------------------------------------------------
    iani2004's Profile: http://forums.novell.com/member.php?userid=122633
    View this thread: http://forums.novell.com/showthread.php?t=450761


  4. #14
    malcolmlewis NNTP User

    Re: Moving SLED 11 SP1 from primary to extended partition

    On Wed, 18 Jan 2012 00:46:01 GMT
    iani2004 <iani2004@no-mx.forums.novell.com> wrote:

    >
    > malcolmlewis;2168630 Wrote:
    > >
    > > >

    > > I would look at getting a 4GB usb device to put the recovery image
    > > and hp tools on as they are not likely to be used with the new
    > > setup?
    > >

    >
    > And if I want back the things as they were when I bought the notebook,
    > all I have to do is put back the original hard drive that wasn't
    > modified at all.
    > Nice solution. Thank you.
    >
    >
    > -Two more scenarios inside this thread-
    >
    > A. If we ignore Win7 restrictions (those 2 primary partitions), moving
    > SLED from primary to extended would be like this?
    > - resize "home"
    > - create another logical partition for the root (same size or bigger)
    > - dd files there
    > - adjusting grub to the extended partition (menu.lst, device.map,
    > fstab)
    > - move the boot flag from the old root to the new one
    >
    > B. I've read on the web that moving the "recovery" partition makes the
    > recovery option disappear from boot options, so on the new hard drive
    > "restore factory settings" and "HP Tools" wouldn't be there.
    > Using dd to copy data from the "recovery" partition to a partition
    > that starts at the right point on another hard drive (probably the
    > exact same model and not the one with Win7&SLED) would do the trick?
    >
    >

    Hi
    Correct, it's just a matter of fixing the relevant entry in menu.lst
    to point at the correct partition. That being said, the image
    would be set to a standard configuration and expect the files on the old
    partitions. You may be able to define how/what is restored, but I don't
    have access to a system to see what it would do.

    --
    Cheers Malcolm °¿° (Linux Counter #276890)
    openSUSE 12.1 (x86_64) Kernel 3.1.0-1.2-desktop
    up 1 day 11:02, 4 users, load average: 0.04, 0.06, 0.05
    CPU Intel i5 CPU M520@2.40GHz | Intel Arrandale GPU


Page 2 of 2 FirstFirst 12

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
  •