VMware Cloud Community
massiverse
Contributor
Contributor

There is no '/boot' directory...

Hello

I'm running Ubuntu 8.04. I'm getting an error message when I attempt to create an image from the converter.

There is no '/boot' directory on the source machine. It is required to create a bootable virtual machine. Please mount the '/boot' directory on the source machine.

I don't understand this message because my root directory does contain a '/boot' directory:

michael@ultraman:/$ ls -l

total 100

drwxr-xr-x 2 root root 4096 2008-08-12 17:54 bin

drwxr-xr-x 3 root root 4096 2008-08-12 17:58 boot

lrwxrwxrwx 1 root root 11 2008-05-08 18:31 cdrom -> media/cdrom

Although, I must admit that mount -l does not return a /boot directory in the list.

michael@ultraman:/$ mount -l

proc on /proc type proc (rw,noexec,nosuid,nodev)

/sys on /sys type sysfs (rw,noexec,nosuid,nodev)

varrun on /var/run type tmpfs (rw,noexec,nosuid,nodev,mode=0755)

varlock on /var/lock type tmpfs (rw,noexec,nosuid,nodev,mode=1777)

udev on /dev type tmpfs (rw,mode=0755)

devshm on /dev/shm type tmpfs (rw)

devpts on /dev/pts type devpts (rw,gid=5,mode=620)

lrm on /lib/modules/2.6.24-18-generic/volatile type tmpfs (rw)

securityfs on /sys/kernel/security type securityfs (rw)

none on /proc/fs/vmblock/mountPoint type vmblock (rw)

/dev/sdb1 on /media/disk type ext3 (rw,nosuid,nodev,uhelper=hal) []

Can someone point me in the right direction here? How should I proceed to mount the boot directory?

Thanks

Tags (1)
Reply
0 Kudos
7 Replies
vmweathers
Expert
Expert

Not only is there no /boot listed, there is no root filesystem listed either! (/) e.g., /dev/sda2 on / type ext3 (rw,acl,user_xattr) []

Maybe you just neglected to include it in the output you copied-and-pasted?

(If your question has been resolved please mark the answers as "Helpful" or "Correct".)

(If your question has been resolved please mark the answers as "Helpful" or "Correct".)
Reply
0 Kudos
massiverse
Contributor
Contributor

No, unfortunately that is the entire output.

I'm starting to get the idea that this issue should be posted in an ubuntu forum instead!

Thanks,

August

Reply
0 Kudos
vmweathers
Expert
Expert

Can you post "cat /proc/partitions" and "sudo /usr/sbin/parted -l" (might be in different location)?

(If your question has been resolved please mark the answers as "Helpful" or "Correct".)

(If your question has been resolved please mark the answers as "Helpful" or "Correct".)
Reply
0 Kudos
massiverse
Contributor
Contributor

thanks for the help - here's the output:

michael@ultraman:~$ cat /proc/partitions

major minor #blocks name

8 0 78125000 sda

8 1 74894998 sda1

8 5 3229033 sda5

8 16 976773168 sdb

8 17 976768064 sdb1

for the parted command, there was no "-l" option. Did you mean a different command?

Thanks

Reply
0 Kudos
vmweathers
Expert
Expert

Well, it depends on your version of parted. The one on my OpenSUSE 10.3 is 1.8.7. I guess you have an older version. Just enter the parted command and at the (parted) prompt type "print all".

Can you also post "df" output?

(If your question has been resolved please mark the answers as "Helpful" or "Correct".)

(If your question has been resolved please mark the answers as "Helpful" or "Correct".)
massiverse
Contributor
Contributor

ok, here ya go (and thanks again!)

Disk /dev/sda: 80.0GB

Sector size (logical/physical): 512B/512B

Partition Table: msdos

Number Start End Size Type File system Flags

1 32.3kB 76.7GB 76.7GB primary ext3 boot

2 76.7GB 80.0GB 3307MB extended

5 76.7GB 80.0GB 3307MB logical linux-swap

Disk /dev/sdb: 1000GB

Sector size (logical/physical): 512B/512B

Partition Table: msdos

Number Start End Size Type File system Flags

1 0.51kB 1000GB 1000GB primary ext3

here is df output

michael@ultraman:~$ df

Filesystem 1K-blocks Used Available Use% Mounted on

varrun 517588 160 517428 1% /var/run

varlock 517588 0 517588 0% /var/lock

udev 517588 40 517548 1% /dev

devshm 517588 12 517576 1% /dev/shm

lrm 517588 38176 479412 8% /lib/modules/2.6.24-18-generic/volatile

/dev/sdb1 969072008 50959168 869274440 6% /media/disk

Reply
0 Kudos
massiverse
Contributor
Contributor

Reply
0 Kudos