Re: [loader?] secret to setting root elsewhere?.
Ok so I have tried the settings in teh loader conf.. I have: #autoboot_delay="10"# Delay in seconds before autobooting #console="vidconsole" # Set the current console currdev="disk1s1a" # Set the current device module_path="/boot/kernel;/boot/modules"# Set the module search path #prompt="\\${interpret}"# Set the command prompt root_disk_unit="1" # Force the root disk unit number rootdev="disk1s1a" # Set the root filesystem but it still loads disk0 as root.. what am I doing wrong? You don't "load a disk as root". If you mean "it loads the kernel from the wrong place", that's one thing. If you mean "it mounts / from the wrong filesystem", then you should be aware that the loader reads /etc/fstab, and the kernel will mount whatever you've put in there. root_disk_unit is also deprecated. -- ... every activity meets with opposition, everyone who acts has his rivals and unfortunately opponents also. But not because people want to be opponents, rather because the tasks and relationships force people to take different points of view. [Dr. Fritz Todt] V I C T O R Y N O T V E N G E A N C E To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: [loader?] secret to setting root elsewhere?.
Mike Smith wrote: Ok so I have tried the settings in teh loader conf.. I have: #autoboot_delay="10"# Delay in seconds before autobooting #console="vidconsole" # Set the current console currdev="disk1s1a" # Set the current device module_path="/boot/kernel;/boot/modules"# Set the module search path #prompt="\\${interpret}"# Set the command prompt root_disk_unit="1" # Force the root disk unit number rootdev="disk1s1a" # Set the root filesystem but it still loads disk0 as root.. what am I doing wrong? You don't "load a disk as root". If you mean "it loads the kernel from the wrong place", that's one thing. If you mean "it mounts / from the wrong filesystem", then you should be aware that the loader reads /etc/fstab, and the kernel will mount whatever you've put in there. YUUU I'm specifying a different place because the place where fstab is is SCREWED but it will let me do what I want. root_disk_unit is also deprecated. -- ... every activity meets with opposition, everyone who acts has his rivals and unfortunately opponents also. But not because people want to be opponents, rather because the tasks and relationships force people to take different points of view. [Dr. Fritz Todt] V I C T O R Y N O T V E N G E A N C E -- __--_|\ Julian Elischer / \ [EMAIL PROTECTED] ( OZ) World tour 2000 --- X_.---._/ from Perth, presently in: Budapest v To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: [loader?] secret to setting root elsewhere?.
If you mean "it loads the kernel from the wrong place", that's one thing. If you mean "it mounts / from the wrong filesystem", then you should be aware that the loader reads /etc/fstab, and the kernel will mount whatever you've put in there. Just curious, but isn't there a checken-and-egg problem here? If there is two complete systems, on each disk. If the root on disc 0 contains an /etc/fstab showing root to be mounted from disk 0, and the root on disk 1 contains an /etc/fstab showing root to be mounted from disk 1? How is it then possible to mount the root on disk 1? Leif To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: [loader?] secret to setting root elsewhere?.
#autoboot_delay="10"# Delay in seconds before autobooting #console="vidconsole" # Set the current console currdev="disk1s1a" # Set the current device module_path="/boot/kernel;/boot/modules"# Set the module search path #prompt="\\${interpret}"# Set the command prompt root_disk_unit="1" # Force the root disk unit number rootdev="disk1s1a" # Set the root filesystem but it still loads disk0 as root.. what am I doing wrong? You don't "load a disk as root". If you mean "it loads the kernel from the wrong place", that's one thing. If you mean "it mounts / from the wrong filesystem", then you should be aware that the loader reads /etc/fstab, and the kernel will mount whatever you've put in there. YUUU I'm specifying a different place because the place where fstab is is SCREWED Ah, shut yer trap. It reads /etc/fstab from wherever the kernel is loaded from, and if /etc/fstab is hosed/can't be parsed, it'll fall back to trying to guess using the old algorithms. The new behaviour is a functional superset of the old. but it will let me do what I want. Of course, you don't actually bother to mention what your problem is, so I still can't actually *help* you. -- ... every activity meets with opposition, everyone who acts has his rivals and unfortunately opponents also. But not because people want to be opponents, rather because the tasks and relationships force people to take different points of view. [Dr. Fritz Todt] V I C T O R Y N O T V E N G E A N C E To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: [loader?] secret to setting root elsewhere?.
If you mean "it loads the kernel from the wrong place", that's one thing. If you mean "it mounts / from the wrong filesystem", then you should be aware that the loader reads /etc/fstab, and the kernel will mount whatever you've put in there. Just curious, but isn't there a checken-and-egg problem here? If there is two complete systems, on each disk. If the root on disc 0 contains an /etc/fstab showing root to be mounted from disk 0, and the root on disk 1 contains an /etc/fstab showing root to be mounted from disk 1? How is it then possible to mount the root on disk 1? By loading a kernel from disk 1, or subsequent to loading the kernel, change $rootdev to point somewhere else. Please don't assume I'm *entirely* stupid. 8) -- ... every activity meets with opposition, everyone who acts has his rivals and unfortunately opponents also. But not because people want to be opponents, rather because the tasks and relationships force people to take different points of view. [Dr. Fritz Todt] V I C T O R Y N O T V E N G E A N C E To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message