Home | Bug Tracker | Wiki | Mailing Lists | Forums    
   Username:  Password:  Signup
   
   Main Menu
· Home
· Search
· Site Stats
   Donate to Parsix
Help us to move faster and make a better system for you. Donations are highly appreciated.

Donations Sum: $ 400,00
   Search
   Download
· SF.Net Mirrors
   Bug Report
Help us to fix problems and defects. Please report bugs here.
   Online Users
Admin
No Online Admins
Members:Online
Members:Members:0
Guests:Guests:16
Total:Total:16
Online Members
No online members
   Sponsored Links



Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
lawmanukOffline
Post subject: relative partitions  PostPosted: Aug 31, 2008 - 11:35 AM



Joined: Aug 08, 2008
Posts: 143

Status: Offline
hi,

just wondering if its possible to install parsix with it making references to its system files based on a relative partition, rather than an absolute partition.

the reason i ask, is that i've got several logical partitions, one of which is parsix. it seems, that when u add/delete logical partitions, the logical partition numbers of partitions left alone (such as parsix) still change sometimes.

i do a lot of adding/deleting partitions as i use 'gujin' to load distros from harddisk rather than burn them to cd's.

i just installed dreamlinux on another new logical partition, and parsix now freezes in the middle of loading up + the grub doesn't work at all.

if it was possible to install parsix with relative reference to it's own partition, this would solve all such problems; but i'm not sure if this can ever be made possible - or perhaps one day in the future? Smile
 
 View user's profile Send private message  
Reply with quote Back to top
mandog
Post subject:   PostPosted: Aug 31, 2008 - 01:18 PM
Forum Moderator
Forum Moderator


Joined: Jan 25, 2008
Posts: 213
Location: UK
I don't exactly know what you are trying to do but I have multible distros as I test them. I install grub on the master distro to mbr, then guest distro's to their root partition then just enter them to the master boot grub Menu 1st, that way they never alter anything, then when you want to remove them its simple. always install from a live cd/dvd/ usb stick. you need a unmounted partitions to install, warning Gentoo, Fedora, pclinux, do not like sharing grub with other Linux distros. that why I always mount grub on root. I personally use Sidux as the master distro. Then add the grub entries to / grub menu 1st

## ## End Default Options ##

title Parsix GNU/Linux 1.5r1, kernel 2.6.24-parsix64-23
root (hd0,5)
kernel /boot/vmlinuz-2.6.24-parsix64-23 root=/dev/sda6 ro ramdisk_size=100000 apm=power-off nomce quiet vga=791 resume=swap:/dev/sda5
initrd /boot/initrd.img-2.6.24-parsix64-23

title Sidux GNU/Linux, kernel 2.6.26-1-amd64
root (hd0,6)
kernel /boot/vmlinuz-2.6.26-1-amd64 root=UUID=2d7e6d44-77b8-4efc-aef7-ad940fd13102 ro quiet vga=791
initrd /boot/initrd.img-2.6.26-1-amd64


title Debian GNU/Linux, kernel 2.6.26-1-amd64
root (hd0,Cool
kernel /boot/vmlinuz-2.6.26-1-amd64 root=/dev/sda9 ro ramdisk_size=100000 apm=power-off nomce quiet vga=791 resume=swap:/dev/sda5
initrd /boot/initrd.img-2.6.26-1-amd64

### END DEBIAN AUTOMAGIC KERNELS LIST

title Windows 2K/XP/2003/Vista (sda1)
rootnoverify (hd0,0)
makeactive
chainloader +1

as you can see at the moment I am running Parsix, Sidux, Debian, + windows
you can as I have place your entries to suit your preferences

_________________
Parsix running AMD 6000 x2 64bt, Asus mother board 8gb ram, Nvidia graphic card 1gb unboard ram, Plextor PX760, EPSON R300, 2x 500gb sata+2x 500gb usb Hardrive, Netgear, 19" DELL monitor 1600X1200 X 75hz Resolution
 
 View user's profile Send private message Send e-mail ICQ Number 
Reply with quote Back to top
lawmanukOffline
Post subject:   PostPosted: Aug 31, 2008 - 09:45 PM



Joined: Aug 08, 2008
Posts: 143

Status: Offline
my ideal scenario would be:

distro 1 grub installed on mbr.

distro 2,3,... grub installed on each partition.

mbr grub does not need to be changed or added to with installation of new distros, as it will simply point to each partition, which will load it's own root grub...

title Distro 3 (sda3)
rootnoverify (hd0,2)
makeactive
chainloader +1

my question was then referring to the root grub on sda3. instead of it pointing to 'sda3' with the fstab doing the same. it simply pointed at 'itself', whichever partition number it happens to be.

kind of how VB programming, can point at 'me' for its current form, or how windows will just load from whichever physical partition it's currently on, even if number has changed.

this may not be possible in linux, but it would be great if it could.
 
 View user's profile Send private message  
Reply with quote Back to top
mandog
Post subject:   PostPosted: Sep 01, 2008 - 06:39 AM
Forum Moderator
Forum Moderator


Joined: Jan 25, 2008
Posts: 213
Location: UK
If you read what I said you will see that on my system each distro has its own grub on its own partition. Grub on mbr merely points you to the partition and entries can be added or removed with no adverse effect As for windows it also uses entries on mbr. which like grub points to the partition windows is always C partition so it looks for C. if you put 6 windows XP on 6 partitions you would need 6 entries in chainloader to access each separately it would not read your mind, that's the same for Linux please do not try not to compare the two most people come to Linux with vast Windows experience but find the advantages of Linux out-way windows by a fair margin that's why they use it. Linux has a learning curve the time it takes to learn depends on the individual and how fast they grasp the fact that it not windows it can never be windows and things are done the Linux way not the windows way. After 2 years of Linux I still have a lot to learn..Parsix has been on my system since December 2007 and since then my main distro.

_________________
Parsix running AMD 6000 x2 64bt, Asus mother board 8gb ram, Nvidia graphic card 1gb unboard ram, Plextor PX760, EPSON R300, 2x 500gb sata+2x 500gb usb Hardrive, Netgear, 19" DELL monitor 1600X1200 X 75hz Resolution
 
 View user's profile Send private message Send e-mail ICQ Number 
Reply with quote Back to top
lawmanukOffline
Post subject:   PostPosted: Sep 01, 2008 - 09:39 AM



Joined: Aug 08, 2008
Posts: 143

Status: Offline
hi md,

i did read that you were installing grub on root partitions aswell. whether u change the master grub menu.lst or leave it as pointing to root partition grubs is not a massive issue either.

Wasn't trying to do a big linux/window compare, but just noting that windows doesn't actually change the mbr. what it does, is use a standard mbr that points to the active primary partition - which happens to be windows. windows then runs, whichever partition number it is at. as such, there is no absolute reference to a partition number. of course, this is only the scenario if only 1 installation per disk.

there's lots of things windows can't do that linux can, such as boot from logical partitions - so i didn't mean it to be another linux v windows issue.

I just wanted to check if there was any way to bypass absolute values to own partition in fstab or menu.lst

ta
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT + 3.5 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Copyright© 2005-2007 Parsix Project
Contact: webmaster AT parsix DOT org