[LIVE] HOW-TO mount hard disk drives on XBMC Live 9.04

  Thread Rating:
  • 2 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
clubber lang Offline
Junior Member
Posts: 29
Joined: Mar 2010
Reputation: 0
Post: #51
@vikjon0 any idea how to do it under GRUB2?
find quote
vikjon0 Offline
---
Posts: 2,429
Joined: Apr 2009
Reputation: 7
Location: Sweden
Post: #52
I think you need to update
/etc/default/grub

and then run
sudo update-grub


http://ubuntuforums.org/showthread.php?t=1195275

Quote:/boot/grub/grub.cfg
This is the main Grub 2 file. It "replaces" Grub Legacy's /boot/grub/menu.lst This file contains the Grub menu information but unlike Grub Legacy's menu.lst file, grub.cfg is not meant to be edited.
grub.cfg is automatcially generated when "update-grub" is executed:

Quote:/etc/default/grub
This file contains information formerly contained in the upper section of Grub Legacy's menu.lst and items contained on the end of the kernel line. The items in this file can be edited by a user with administrator (root) privileges.
find quote
yesniyah Offline
Junior Member
Posts: 14
Joined: Feb 2010
Reputation: 0
Star    Post: #53
vikjon0 Wrote:I think you need to update
/etc/default/grub

and then run
sudo update-grub


http://ubuntuforums.org/showthread.php?t=1195275
Thanks for the info. I'm also using Live Dharma so I found the file under /etc/default/grub as you indicated.

here are the contents of the file that I have:
Quote:# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.

GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
#GRUB_CMDLINE_LINUX_DEFAULT="quiet splash xbmc=autostart,nodiskmount loglevel=0"
GRUB_CMDLINE_LINUX=""

# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=800x600

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_LINUX_RECOVERY="true"

# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"

# Defaults from XBMC Installation
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash xbmc=autostart,nodiskmount loglevel=0 video=vesafb"
GRUB_GFXMODE="800x600"
GRUB_GFXPAYLOAD_LINUX="800x600"

What needs to be removed so that my 2 extra drives can be auto mounted?

I see 2 instances of nodiskmount above. Dunno what to do with those, if anything.
One drive is a 2TB NTFS drive and a 1TB EXT4 drive.
Also, is it possible to mount the 2TB drive in a specific location? like /home
find quote
vikjon0 Offline
---
Posts: 2,429
Joined: Apr 2009
Reputation: 7
Location: Sweden
Post: #54
You see two...but # means that the line is commented out.
Remove from the the other line...or both, it does not matter.
find quote
yesniyah Offline
Junior Member
Posts: 14
Joined: Feb 2010
Reputation: 0
Post: #55
Quote:# Defaults from XBMC Installation
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash xbmc=autostart,nodiskmount loglevel=0 video=vesafb"
GRUB_GFXMODE="800x600"
GRUB_GFXPAYLOAD_LINUX="800x600"

Ok, I removed the nodiskmount indicated above and I get the drives to show up in /media when I go to add sources.
The issue is that the drives are named : D8AE6AFAAE6AD094 and E89652139651E31C for the 1Tb and the 2 TB respectively. Anyway to fix that?

And I still would rather mount them in the /Home/XBMC directory.
find quote
yesniyah Offline
Junior Member
Posts: 14
Joined: Feb 2010
Reputation: 0
Post: #56
D8AE6AFAAE6AD094 and E89652139651E31C do not show up in add sources. They show up when I FTp into the XBMC Live box and browse to /media.
What shows up is the Volume name. One was formatted on WIN7 and given a volume name of "STORAGE" and the other one was formatted EXT4 and also given a volume name of "STORAGE".
This debacle was done unintentionally as the EXT4 (1TB drive) was added to my previous Live installation 9 months ago and NTFS (2TB) drive was added to the new Live install Yesterday.

Is there a way to change the Volume name of a Drive in Linux? I know I can pop the 2TB drive back into windows, right click the drive in My Computer and rename it.

So how do I do that from terminal in XBMC Live?
find quote
KingsCross Offline
Junior Member
Posts: 38
Joined: Aug 2011
Reputation: 0
Post: #57
I'm trying to automount my internal hd as well but whenever I type /etc/default/grub into the terminal I get a command not found response. same thing with update-grub.

Any ideas?
find quote
sebaschm Offline
Junior Member
Posts: 2
Joined: Sep 2011
Reputation: 0
Post: #58
You can find a solution for booting XBMC 10.1 from a pendrive using Grub4dos here (automount of harddrives is included):

http://bootsticks.forumprofi.de/thema-an...1-t16.html

The explanation is in german, but the needed code is in english. And this is the only thing you want.

A complete solution for a Multiboot pendrive you will find here:

http://bootsticks.npage.de/welcome_engli...39593.html

I heard next week there will be released a new 0.8.3.0 version completely in english.
find quote
Don Cartagena Offline
Junior Member
Posts: 4
Joined: Dec 2012
Reputation: 0
Post: #59
Is there any update on this for XBMCbuntu 12 Frodo Beta 3? From what I have gathered, the following steps are necessary (sorry, total Linux nub):

- Press Ctrl+Alt+F2 to get a command line
- Login as "xbmc" password blank
- Remove "nodiskmount" token from /etc/default/grub using nano: "sudo nano /etc/default/grub"
- Run "sudo update-grub"

Does this kind of correctly reflect what is necessary?

Thanks and Cheers - Don
find quote
vikjon0 Offline
---
Posts: 2,429
Joined: Apr 2009
Reputation: 7
Location: Sweden
Post: #60
This was obsolete in eden and I assume also in Frodo.
You need to mount it in fstab
find quote
Post Reply