Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have installed 3 OSs on my laptop (Win2003, FC7, Solaris Express CE),I used to use Linux grub to boot these 3 OSs without any problem.
Linux OS screwed up for some reasons, I reinstalled linux OS without touching windows nor solrais, as a result I have to edit the Linux grub by adding the same 3 lines that were there before reinstalling linux,:
Code:
title Sun Solaris GRUB Boot Loader
rootnoverify (hd0,3),,,,,solaris on sda4
chainloader +1
If you are going to install the Solaris 10 1/06 OS, navigate to /boot/grub/menu.lst. Make a note of the paths to the Linux partition, Linux kernel, and Linux RAM disk. You will need this information later.
The menu list should be something like this:
root (hd0,1)
kernel /boot/vmlinuz-2.6.9-1.667 ro root=LABEL=/ rhgb quiet
initrd /boot/initrd-2.6.9-1.667.img
part 1 primary ntfs
part 2 primary solaris
part 3 linux
part 4 linux swap
if fat32 was for sharing of ms and linux..make part 1 available to be readable and or writeable in your linux fstab....writeable is now possible with ntfs-3g
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789
Rep:
Quote:
Originally Posted by aus9
I suggest make your system more simple
part 1 primary ntfs
part 2 primary solaris
part 3 linux
part 4 linux swap
Beware that if partition 4 is a primary partition, you need to manually change its id to something else than 0x82 otherwise Solaris will probably be in trouble.
Quote:
if fat32 was for sharing of ms and linux..make part 1 available to be readable and or writeable in your linux fstab....writeable is now possible with ntfs-3g
There is no ntfs write support with Solaris so the fat32 partition is still relevant if sharing is expected from the three installed O/Ses. I personally prefer to use an USB memory device for that use instead of wasting a primary partition.
Your primary partitions 3 and 4 seem to have been reordered. That may explain the problem.
Sorry for the previous reply that I have posted,showing that line for sda4 before sda3,,,,,I do not how that happened ,,,,,please see the correct one below :
[root@localhost ~]# fdisk -l
Code:
Disk /dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 1 5222 41945683+ 7 HPFS/NTFS
/dev/sda2 5223 6497 10241437+ c W95 FAT32 (LBA)
/dev/sda3 8457 14592 49287420 5 Extended
/dev/sda4 * 6498 8456 15735667+ bf Solaris
/dev/sda5 8457 8482 208813+ 83 Linux
/dev/sda6 8483 11915 27575541 83 Linux
/dev/sda7 11916 14465 20482843+ 83 Linux
/dev/sda8 14466 14592 1020096 82 Linux swap / Solaris
Partition table entries are not in disk order
[root@localhost ~]#
[root@localhost ~]# fdisk /dev/sda
Code:
The number of cylinders for this disk is set to 14593.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
(e.g., DOS FDISK, OS/2 FDISK)
Command (m for help): p
Disk /dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 1 5222 41945683+ 7 HPFS/NTFS
/dev/sda2 5223 6497 10241437+ c W95 FAT32 (LBA)
/dev/sda3 8457 14592 49287420 5 Extended
/dev/sda4 * 6498 8456 15735667+ bf Solaris
/dev/sda5 8457 8482 208813+ 83 Linux
/dev/sda6 8483 11915 27575541 83 Linux
/dev/sda7 11916 14465 20482843+ 83 Linux
/dev/sda8 14466 14592 1020096 82 Linux swap / Solaris
Partition table entries are not in disk order
Command (m for help):
[root@localhost ~]# fdisk -l
Disk /dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 5222 41945683+ 7 HPFS/NTFS
/dev/sda2 5223 6497 10241437+ c W95 FAT32 (LBA)
/dev/sda3 6498 8456 15735667+ bf Solaris
/dev/sda4 8457 14593 49295452+ 5 Extended
/dev/sda5 8457 8482 208813+ 83 Linux
/dev/sda6 8483 11915 27575541 83 Linux
/dev/sda7 11916 14465 20482843+ 83 Linux
/dev/sda8 14466 14592 1020096 82 Linux swap / Solaris
When I reinstalled solaris (deleted its partition and recreated it again) the partition table changed to the below : (I guess this is normal)
Code:
Disk /dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 1 5222 41945683+ 7 HPFS/NTFS
/dev/sda2 5223 6497 10241437+ c W95 FAT32 (LBA)
/dev/sda3 8457 14592 49287420 5 Extended
/dev/sda4 * 6498 8456 15735667+ bf Solaris
/dev/sda5 8457 8482 208813+ 83 Linux
/dev/sda6 8483 11915 27575541 83 Linux
/dev/sda7 11916 14465 20482843+ 83 Linux
/dev/sda8 14466 14592 1020096 82 Linux swap / Solaris
Partition table entries are not in disk order
Every thing was working fine (I would have been able to boot all threre OSs by using Linux grub) , till I reinstalled Linux recently because there was a problem with its Xorg11.
Now I can boot Windows and Linux by using Linux grub, but not Solaris
Under Linux fdisk .dev/sda and select the expert options (x) and then select fix partition order f), the order of the partition tables in like below.
[root@localhost ~]# fdisk -l
Code:
Disk /dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 1 5222 41945683+ 7 HPFS/NTFS
/dev/sda2 5223 6497 10241437+ c W95 FAT32 (LBA)
/dev/sda3 * 6498 8456 15735667+ bf Solaris
/dev/sda4 8457 14593 49295452+ 5 Extended
/dev/sda5 8457 8482 208813+ 83 Linux
/dev/sda6 8483 11915 27575541 83 Linux
/dev/sda7 11916 14465 20482843+ 83 Linux
/dev/sda8 14466 14592 1020096 82 Linux swap / Solaris
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.