Open srikarsashankbandi opened 4 years ago
Could you attach a dmesg to this issue ? (run "dmesg > ~/Downloads/dmesg.txt" in crosh shell and attach dmesg.txt from your downloads folder)
Hi sebanc, many thanks for your brunch kernel. here is your requested dmesg. dmesg.txt
You don't have the "options=mount_internal_drives" in your kernel command line, as you are using dual boot you have to add it to the linux grub configuration you have created.
I did add the options=mount_internel_drives in the kernel command line. here is the screenshot and dmesg after. dmesg.txt
No still not:
[ 0.000000] Command line: BOOT_IMAGE=(loop,gpt7)/kernel boot=local noresume noswap loglevel=7 disablevmx=off cros_secure cros_debug loop.max_part=16 img_part=/dev/sda10 img_path=/chromos.img
You are modifying the wrong grub config, in dual boot you have to modify the linux one that you created at install time.
Hi sebanc, could you please elaborate on the steps where I have to change to get it. if that is on the grub menu entry, here is the screenshot.
Hi, Is it possible to mount a specific partition on booting? So that the other system partitions (linux, windows) would not be in danger of any mistake. Thank you.
@derqami
Yes, it is possible to mount a specific partition in crosh. For that
1.Identify your 'My Files 'path.
There is a trick to find it: first, create a text file in the text app, then save it to my files and open the file in the Chrome browser(Right-click and choose view
) then in the address bar, there is a path for your text file. copy it such that it is in the format /home/chronos/................................../MyFiles
mkdir -p **your_path**/partition
3.Run sudo mount /dev/XXXX **your_path**/partition
Now you can open the Files app and browse those files.
Note: Unmount the partition after use. sudo umount **your_path**/partition
@ameyjoshi3068 It works, thank you. Is it possible to make another magic so the partition would be auto-mounted when chromeos boots. Or make exceptions in "mount_internal_drives" to exclude unwanted partition mount.
Mounting a partition under 'myfiles" restricts hdd to be used by android apps.
@derqami Yes, it is possible to mount a specific partition in crosh. For that 1.Identify your 'My Files 'path. There is a trick to find it: first, create a text file in the text app, then save it to my files and open the file in the Chrome browser(Right-click and choose
view
) then in the address bar, there is a path for your text file. copy it such that it is in the format/home/chronos/................................../MyFiles
- Create a directory in my files
mkdir -p **your_path**/partition
3.Runsudo mount /dev/XXXX **your_path**/partition
Now you can open the Files app and browse those files.
Note: Unmount the partition after use.
sudo umount **your_path**/partition
Can you help me to mount other partitions as removable drives
Mounting a partition under 'myfiles" restricts hdd to be used by android apps.
- download a file explorer from play store, create a new folder under "internal memory'. in my case its STRG . You can make a txt file in this folder and open with chrome browser to find out the path, just like explained above. in crosh -shell -"sudo mount /dev/partitionx run/arc/sdcard/write/emulated/0/STRG" Now you can access and modify your files both in android and chromeos apps.
I cant access them in Android
I tried an optional step from readme by editing grub config with " mount_internal_drives" also did a powerwash after editing but couldn't mount. Any suggestions?