[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gNewSense-users] Mounting/partitioning inside a VM
From: |
Karl Goetz |
Subject: |
Re: [gNewSense-users] Mounting/partitioning inside a VM |
Date: |
Sun, 1 Apr 2012 08:59:15 +1000 |
On Sat, 31 Mar 2012 07:10:55 +0400
Stayvoid <address@hidden> wrote:
> Hello,
>
> What is the right way to mount several partitions/disks?
>
> My machine is a VM (Xen).
>
> For example:
> I separated my disk to several partitions.
> /dev/xvda--Debian;
> /dev/xvdb--for swap;
> /dev/xvdc--debootstrapped gNewSense system;
> /dev/xvdd--for /boot
>
> I used /dev/xvda to debootstrap gNewSense to /dev/xvdc.
> How to use /dev/xvdd for /boot in gNewSense?
>
> /dev/xvdd is currently empty.
>
> Will it be enough to edit /etc/fstab in gNewSense and append something
> like the following?
> /dev/xvdd /boot ext3 defaults 1 2
> /dev/xvdd will be mounted as /boot automatically after the reboot. Is
> it right?
>
> (Maybe it should be done before the debootstrap if the above scheme is
> incorrect.)
I'd suggest you don't have a separate /boot for gNS (I assume debian
has a boot directory of its own).
I'd suggest you include the gNS /boot on the gns / partition and
configure the grub currently installed (which i assume is debians) to
add gns as a boot option.
You will probably want to copy 10_linux or 20_linux_xen
(in /etc/grub.d) and customise from there.
thanks,
kk
--
Karl Goetz, (Kamping_Kaiser / VK7FOSS)
http://www.kgoetz.id.au
No, I won't join your social networking group
*** I've changed GPG key to 6C097260 ***
signature.asc
Description: PGP signature