Page 1 of 1
noobie question about /mnt/live/mnt [solved]
Posted: 30 Dec 2010, 15:36
by Mithrandil
is there any way to know the boot device (i mean the device where the slax directory is located)? other than
Re: noobie question about /mnt/live/mnt
Posted: 30 Dec 2010, 15:38
by Hamza
Yes , if you do this command , you can see where remix is mounted
And , if you do this command :
cd /mnt/live/mnt/*/slax/
You can found automaticly on slax device .
Regards,
You topic is solved or no ?
Re: noobie question about /mnt/live/mnt
Posted: 30 Dec 2010, 15:40
by Mithrandil
no, it's not solved, i want to know if there is another way to know the device, different from search in the /mnt/live/mnt
Re: noobie question about /mnt/live/mnt
Posted: 30 Dec 2010, 15:44
by Quax
Hi mithrandil,
as far as i know no.
To achieve this, fanthom would have to change linuxrc to export $DATAFROM variable to the running system while processing initrd.
Regards, Quax
Re: noobie question about /mnt/live/mnt
Posted: 30 Dec 2010, 15:46
by Mithrandil
thank you Quax, that's what i thought to do if there are no other ways ( some secret proc file or stuff like that
)
Re: noobie question about /mnt/live/mnt
Posted: 30 Dec 2010, 16:03
by Quax
Mithrandil wrote:thank you Quax...
You are welcome.
Safest way would be adding the following line to linuxrc
before switching root in initrd:
Code: Select all
echo "DATAFROM=$DATAFROM" > $UNION/var/log/datafrom
and then adding following line to rc.slax:
Regards, Quax
Re: noobie question about /mnt/live/mnt
Posted: 30 Dec 2010, 16:06
by Hamza
Re: noobie question about /mnt/live/mnt
Posted: 30 Dec 2010, 22:02
by fanthom
this question has been answered in
http://porteus.org/forum/ftopic41_linux ... ripts.html
please add [Solved]
Re: noobie question about /mnt/live/mnt [solved]
Posted: 02 Jan 2011, 03:08
by francois
@fanthom:
There is no information at the hyperlink cited.
Re: noobie question about /mnt/live/mnt [solved]
Posted: 02 Jan 2011, 04:42
by fanthom
that's probably because forum is moving all the time
my answer was:
"this info is already included in /mnt/live/var/log/livedbg
some other useful info is also there "