>>> <iliasabr...@gmail.com> schrieb am 15.05.2017 um 20:40 in Nachricht
<ae454666-2f30-4374-82fd-af30b8f1e...@googlegroups.com>:
> Hello guys, 
> I am trying to configure a diskless PC to boot through an iSCSI server. 
> I have already configure the iSCSI Target side and the PC through a Live 
> USB is accessed to the iSCSI target. With fdisk -l command, I can see the 
> disk that I want to use. there is no any partion in the disk. 
> From this point I do not know what to do, because I have found many 
> different kind of tutorials and I do not understand some points. 
> 
> For example, can somebody explain me why after the regular installation of 
> the OS on the iSCSI disk they use the "mount" command for the /dev. /sys 
> and /proc? 
> 
> helper# mkdir /mnt/chroot 
> helper# mount /dev/sda3 /mnt/chroot 
> helper# debootstrap wheezy /mnt/chroot 
> helper# mount -t proc none /mnt/chroot/proc 
> helper# mount -t sysfs none /mnt/chroot/sys 
> helper# mount --bind /dev /mnt/chroot/dev 
> helper# chroot /mnt/chroot /bin/bash 
> 
> Does anyone know what these commands do ? 

Well what these comamnds can be read in the corresponding manual pages ;-)
But I guess your question was: Why are these needed?
Obviously you need all the fielesystems you want to access. /proc, /sys, and 
/dev are needed if you want to build your initial ramdisk (from my experience), 
because otherwise they are not present after chroot.

Regards,
Ulrich

> 
> Many thanks! 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "open-iscsi" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to open-iscsi+unsubscr...@googlegroups.com.
> To post to this group, send email to open-iscsi@googlegroups.com.
> Visit this group at https://groups.google.com/group/open-iscsi.
> For more options, visit https://groups.google.com/d/optout.




-- 
You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to open-iscsi+unsubscr...@googlegroups.com.
To post to this group, send email to open-iscsi@googlegroups.com.
Visit this group at https://groups.google.com/group/open-iscsi.
For more options, visit https://groups.google.com/d/optout.

Reply via email to