Find the answer to your Linux question:
Page 1 of 3 1 2 3 LastLast
Results 1 to 10 of 24
Hi, I have 2 hard drives. One dedicated to Linux the other to windows. I have Ubuntu already on the sdb1. It was the only one that so far recognised ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2007
    Posts
    40

    Question Mandriva on same hard drive as Ubuntu


    Hi,
    I have 2 hard drives.
    One dedicated to Linux the other to windows.
    I have Ubuntu already on the sdb1. It was the only one that so far recognised the core 2 duo and the gigabyte mother board and didn't bulk at not recognising the dvd drives
    Can I load Maldriva (haven't tried yet) on the same hard drive as Ubuntu.
    Will the dvd allow me to repartion the hard drive to install Maldriva?
    The hard drive has been partioned for a swap file and the directory.
    Given that the hard drive has been partioned how do I repartion it for Maldriva?
    I know it will require a root directory - how do i do it.
    Very new to linux distributions.
    Thanks
    Best regards
    bill

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Hi and Welcome !

    you can install as many Linux Distributions as you want in single harddisk. Mandirva Installation DVD has Partitioning Tool and you can resize existing partitions to create space for Mandriva. create only one partition for /. all Linux distros can share single SWAP partition. Installer will recognize existing SWAP partition.

    post the output of 'sudo fdisk -l' command so the we could check existing partition structure of your harddisk.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  3. #3
    Just Joined!
    Join Date
    Jul 2007
    Posts
    40
    Thanks,
    From what i can retrieve is the following;
    /dev/sdb1 / ext3 140.7 GB
    SWAP 6.2 gb

    The sudo fdisk gave me options but not 'sudo fdisk -l'

    File system is ext2.
    Somewhere the swap was ext5

    Best regards
    Bill

  4. $spacer_open
    $spacer_close
  5. #4
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Somewhere the swap was ext5
    SWAP partition has swap format only.
    did you execute sudo fdisk -l command exactly? -l ( small L ) lists partition structure. your first partition is 140GB. shrink it and create free space Manrdiva. you can use GParted for partition resizing. its available in Ubuntu LiveCD too.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  6. #5
    Just Joined!
    Join Date
    Jul 2007
    Posts
    40
    Hi,
    soory was pushing 1 not little l and did not have the space between fdisk and -l.
    Type o.
    billp@billp-desktop:~$ sudo fdisk -l

    Disk /dev/sda: 250.0 GB, 250059350016 bytes
    255 heads, 63 sectors/track, 30401 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot Start End Blocks Id System
    /dev/sda1 * 1 30400 244187968+ 7 HPFS/NTFS

    Disk /dev/sdb: 160.0 GB, 160041885696 bytes
    255 heads, 63 sectors/track, 19457 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot Start End Blocks Id System
    /dev/sdb1 * 1 18662 149902483+ 83 Linux
    /dev/sdb2 18663 19457 6385837+ 5 Extended
    /dev/sdb5 18663 19457 6385806 82 Linux swap / Solaris

    Using gparted which partion do I shrink - assume sdb1?
    Give that - will mandriva ask for another partion to be created for root?
    Now thats where it gets interesting.
    Playing with Ubuntu it asked me that , at installation once, and I ended up at the window and got lost as to what to do. Couldn't see a way to add a partion let alone how to name it.
    Ant help to understand is appreciated.
    Best Regards
    Bill

  7. #6
    Just Joined!
    Join Date
    Jul 2007
    Posts
    40

    Exclamation Help!!!!!!!!

    I installed mandriva,
    Resized what I thought was right, now I have

    Mount Point: /
    sdb1
    journalised FS: ext3
    Size 7.8gb
    mounted

    sdb5
    swap
    size 3.8 gb

    Mount Point: /home
    Device sdb7
    Journalised FE: ext3
    size 131 gb
    mounted

    sdb6
    swap

    When i installed I had to resize Ubuntu I chose to resize to 50gb - I think
    anyway it asked to automate it - yes
    Boot loader went to something like MVB on sdb0 - I think.
    It asked/gave for options which were like
    Linux
    restore
    windows

    never saw Ubunu as an option to boot to.

    I have two monitors connected to a 7300 Gt geforce, it has the Viewsonic on the DVi and the Philips on the vga out.
    It found the philips set resolution to 1440x900 as monitor0.
    Then proceeded to boot using the viewsonic with the philips going strange.


    How I have

    141 gb
    and an
    8 gb portion

    Ubuntu is on the 8 gb portion
    I can find the boot file.

    When i boot it goes to mandriva,with the option of windows.
    How do I get Ubuntu back as a selection?

    tried to use the boot manager - couldn't figure it out.

    How do i partion the drives to get correct space for Ubuntu and mandriva.

    Just followed the wizrad when i installed.

    HELP!!!!!!!!!!!!!!! anyone.

    Best regards
    Bill

    ps all else fails I'll reinstall Ubuntu from the live disk

  8. #7
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    you have add an entry of Ubuntu in Mandriva's menu.lst file.
    boot up Mandriva, open Terminal/Konsole and execute this
    Code:
    su -
    mkdir ubuntu
    mount -t ext3 /dev/sdb1 ubuntu
    less ubuntu/boot/grub/menu.lst
    above command will display contents of menu.lst file of Ubuntu.copy first title block ( title, root , kernel and initrd lines ).
    open /boot/grub/menu.lst file of Mandriva
    Code:
    su
    nano /boot/grub/menu.lst
    paste title block at the end of file, save file and reboot.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  9. #8
    Just Joined!
    Join Date
    Jul 2007
    Posts
    40
    Hi,
    Thanks for your purserverans with me.
    Well too late - I've reinstalled Ubuntu and cleaned the hard drive.
    Partion #1 (0,1,0) sdb1 ext3
    Partion#5 (0,1,0) sdb as swap
    Boot loader = (hd0)

    Now lets start again please.
    When I install should I repation ext3.

    about to reboot as there is n kernal upgrade which then gives me two options the .15 and the new .16 and a few other nice parts.

    When I get to the place boot loader part - where should I place it?

    Thanks,
    Really appreciate your help
    Best regards
    Bill

  10. #9
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    When I install should I repation ext3.
    shrink existing partition and create free space using GParted. its available in Ubuntu LiveCD. leave new space as unpartitioned and free. start Mandriva Installation and select 'use free/unpartitioned space' in Partition Section.

    When I get to the place boot loader part - where should I place it?
    install Boot Loader in Boot Sector of / (root) partition of Mandriva. let say, you have created /dev/sdb6 partition for Mandriva. type /dev/sdb6 in Boot Loader installation Section.

    after Mandriva installation, boot up Ubuntu and execute this
    Code:
    sudo nano /boot/grub/menu.lst
    add this
    Code:
    title Mandriva
    rootnoverify (hd1,5)
    chainloader +1
    save file and reboot.

    there is n kernal upgrade which then gives me two options the .15 and the new .16 and a few other nice parts.
    install all available upgrades. you can remove earlier kernel version through Synaptic easily after reboot.

    if anything goes wrong, any confusion, execute sudo fdisk -l command in Ubuntu and post output here.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  11. #10
    Just Joined!
    Join Date
    Jul 2007
    Posts
    40

    Thumbs up

    Quote Originally Posted by devils_casper View Post
    shrink existing partition and create free space using GParted. its available in Ubuntu LiveCD. leave new space as unpartitioned and free. start Mandriva Installation and select 'use free/unpartitioned space' in Partition Section.


    install Boot Loader in Boot Sector of / (root) partition of Mandriva. let say, you have created /dev/sdb6 partition for Mandriva. type /dev/sdb6 in Boot Loader installation Section.

    after Mandriva installation, boot up Ubuntu and execute this
    Code:
    sudo nano /boot/grub/menu.lst
    add this
    Code:
    title Mandriva
    rootnoverify (hd1,5)
    chainloader +1
    save file and reboot.


    install all available upgrades. you can remove earlier kernel version through Synaptic easily after reboot.

    if anything goes wrong, any confusion, execute sudo fdisk -l command in Ubuntu and post output here.
    Hi,
    Sorry never asked for the quote.
    Using firefox.

    Thanks
    Can I use gparted from ubuntu - seems not to want to do that - i mean allow partioning - tried the user file on the web but not to instructive as i can't see the pictures clearly - or should this be done from the terminal?.
    If all else fails is it easy to do in mandriva during the installation?

    Really appreciate your patience and assistance.
    As in NZ this will be done 2 morrow when i have a full day to break things.

    Best regards
    Bill

Page 1 of 3 1 2 3 LastLast

Posting Permissions

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