Find the answer to your Linux question:
Results 1 to 10 of 10
i have a 200gb hard drive which is partitioned have windows xp mandriva2008 pclinuxos and my main one opensuse10.3 now i use suse's grub and can access all fine i ...
  1. #1
    Linux Engineer scrarfussi's Avatar
    Join Date
    Aug 2006
    Posts
    1,029

    solaris opensuse 10.3 plus two other distros

    i have a 200gb hard drive which is partitioned have windows xp mandriva2008 pclinuxos and my main one opensuse10.3 now i use suse's grub and can access all fine i have a secondary 250gb where i keep files and save files from all distro's i recently decided to try solaris so i added a 40gig i had it on mounted /media/backup on opensuse then i installed solaris on it but now opensuse grub does not see it i wanna add it to my grub how can i do this thanx

  2. #2
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,344
    On which partition did you install Solaris. Run "fdisk -l" or "parted -l" and post back the output. Solaris uses grub as the bootloader, so you should be able to just chainload from your openSUSE grub.

  3. #3
    Linux Engineer scrarfussi's Avatar
    Join Date
    Aug 2006
    Posts
    1,029
    fdisk -l

    linux:/home/scrarfussi/Download/hardinfo-0.4.2.3 # fdisk -l

    Disk /dev/sda: 200.0 GB, 200049647616 bytes
    255 heads, 63 sectors/track, 24321 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x8d8e8d8e

    Device Boot Start End Blocks Id System
    /dev/sda1 1 283 2273166 b W95 FAT32
    /dev/sda2 * 284 13248 104141362+ 7 HPFS/NTFS
    /dev/sda4 13249 24321 88943872+ 5 Extended
    /dev/sda5 13249 13619 2980026 82 Linux swap / Solaris
    /dev/sda6 13620 14338 5775336 83 Linux
    /dev/sda7 15103 16522 11406118+ 83 Linux
    /dev/sda8 16523 24321 62645436 83 Linux
    /dev/sda9 14339 15102 6136798+ 83 Linux

    Partition table entries are not in disk order

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

    Device Boot Start End Blocks Id System
    /dev/sdb1 * 1 30401 244196001 c W95 FAT32 (LBA)

    Disk /dev/sdc: 40.0 GB, 40020664320 bytes
    255 heads, 63 sectors/track, 4865 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0xa9b98473

    Device Boot Start End Blocks Id System
    /dev/sdc1 * 2 4854 38981722+ bf Solaris

    Disk /dev/sdh: 30.0 GB, 30005690368 bytes
    255 heads, 63 sectors/track, 3647 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x0008a280

    Device Boot Start End Blocks Id System
    /dev/sdh1 * 1 3647 29294496 c W95 FAT32 (LBA)

    and parted -l gives me


    Model: ATA ST3200820A (scsi)
    Disk /dev/sda: 200GB
    Sector size (logical/physical): 512B/512B
    Partition Table: msdos

    Number Start End Size Type File system Flags
    1 32.3kB 2328MB 2328MB primary fat32 , , , , , , , , , type=0b, ,
    2 2328MB 109GB 107GB primary ntfs boot, , , , , , , , , type=07, ,
    4 109GB 200GB 91.1GB extended , , , , , , , , , type=05, ,
    5 109GB 112GB 3052MB logical , , , , , , , , , type=82, ,
    6 112GB 118GB 5914MB logical ext2 , , , , , , , , , type=83, ,
    9 118GB 124GB 6284MB logical ext3 , , , , , , , , , type=83, ,
    7 124GB 136GB 11.7GB logical ext3 , , , , , , , , , type=83, ,
    8 136GB 200GB 64.1GB logical ext3 , , , , , , , , , type=83, ,


    Model: ATA ST3250824ACE (scsi)
    Disk /dev/sdb: 250GB
    Sector size (logical/physical): 512B/512B
    Partition Table: msdos

    Number Start End Size Type File system Flags
    1 32.3kB 250GB 250GB primary fat32 boot, , , , , , lba, , , type=0c, ,


    Model: ATA Maxtor 6E040L0 (scsi)
    Disk /dev/sdc: 40.0GB
    Sector size (logical/physical): 512B/512B
    Partition Table: msdos

    Number Start End Size Type File system Flags
    1 8225kB 39.9GB 39.9GB primary boot, , , , , , , , , type=bf, ,


    Model: HTC42603 0G7AT00 (scsi)
    Disk /dev/sdh: 30.0GB
    Sector size (logical/physical): 512B/512B
    Partition Table: msdos

    Number Start End Size Type File system Flags
    1 32.3kB 30.0GB 30.0GB primary fat32 boot, , , , , , lba, , , type=0c, ,

    solaris is on /dev/sdc 40 gig drive

  4. #4
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,344
    Try,
    Code:
    title Solaris
            rootnoverify (hd2,0)
            chainloader +1

  5. #5
    Linux Engineer scrarfussi's Avatar
    Join Date
    Aug 2006
    Posts
    1,029
    this is what i get
    linux:/home/scrarfussi # title Solaris rootnoverify (hd2,0) chainloader +1
    bash: syntax error near unexpected token `('

  6. #6
    Linux Guru smolloy's Avatar
    Join Date
    Apr 2005
    Location
    CA, but from N.Ireland
    Posts
    2,413
    I think he meant to add those lines to your grub config file, not to type them at the command line.
    Registered Linux user #388328 || Registered LFS user #15880
    AMD 64 X2 4600+ :: 2X1GB DDR2 800 :: GeForce 9400 GT 512MB :: ASUS M2N32 Deluxe :: 4X250GB SATAII
    Need instant help? Try us on IRC -- #linuxforums on freenode

  7. #7
    Linux Engineer scrarfussi's Avatar
    Join Date
    Aug 2006
    Posts
    1,029
    lol how do i do that

  8. #8
    Linux Guru smolloy's Avatar
    Join Date
    Apr 2005
    Location
    CA, but from N.Ireland
    Posts
    2,413
    Open /boot/grub/menu.lst in a text editor and add those lines to the bottom.

    Note that it's called menu.lst not menu.1st!! Also, you'll need root partitions to do this.
    Registered Linux user #388328 || Registered LFS user #15880
    AMD 64 X2 4600+ :: 2X1GB DDR2 800 :: GeForce 9400 GT 512MB :: ASUS M2N32 Deluxe :: 4X250GB SATAII
    Need instant help? Try us on IRC -- #linuxforums on freenode

  9. #9
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,344
    Just use vim or some other editor whilst logged in as root and edit /boot/grub/menu.lst. Add the lines I showed you above to the end of the file.

  10. #10
    Linux Engineer scrarfussi's Avatar
    Join Date
    Aug 2006
    Posts
    1,029
    It worked Thanx

Posting Permissions

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