ubuntu 10.10 installation to external hard drive
PC with no internal mass memory storage.
Installation done from a USB key to a USB hard drive.
No internal disk => no /dev/sda !
Enumeration order is probably undefined between USB key and USB HD => exchange of sdb and sdc
grub.cfg refers good partitions UUID for both Ubuntu / and swap (independent of sd# numbering)
Get grub2 menu. Then "error syntax"
-------------
Original question
-------------
Installed Ubuntu 10.10 to my external hard drive for the first time. Used the whole hd to install as there is nothing else there. Looked as installation went ok until restarted and took me to grub 1.98 menu.. Don't know what to do from there. There's no internal hard drive but computer is intel and came with windows 7 pre-installed. It does not have it anymore but don't know if that makes any difference. Please help. This is so hard.
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Ubuntu grub Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Related FAQ:
None Link to a FAQ
Revision history for this message
|
#1 |
What happens when you press the enter key when the GRUB menu comes up?
Revision history for this message
|
#2 |
IT GOES BACK TO GRUB>.
When the computer is booting up it gives:
error command several times
error syntax
and then takes me back to grub>
Revision history for this message
|
#3 |
You may be able to get the newly installed system to boot by reinstalling GRUB2 to the Master Boot Record. See https:/
df -h; mount; sudo fdisk -l
Then select all the text from the Terminal (Edit > Select All), copy it to the clipboard (Edit > Copy), and paste it here. Then run bootinfoscript by following the instructions at http://
Revision history for this message
|
#4 |
To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.
ubuntu@ubuntu:~$ df -h; mount; sudo fdisk -l
Filesystem Size Used Avail Use% Mounted on
aufs 1.5G 97M 1.4G 7% /
none 1.5G 304K 1.5G 1% /dev
/dev/sdb 3.8G 696M 3.1G 19% /cdrom
/dev/loop0 661M 661M 0 100% /rofs
none 1.5G 712K 1.5G 1% /dev/shm
tmpfs 1.5G 9.6M 1.5G 1% /tmp
none 1.5G 88K 1.5G 1% /var/run
none 1.5G 0 1.5G 0% /var/lock
/dev/sdc1 450G 4.7G 423G 2% /media/
aufs on / type aufs (rw)
none on /proc type proc (rw,noexec,
none on /sys type sysfs (rw,noexec,
fusectl on /sys/fs/
none on /dev type devtmpfs (rw,mode=0755)
none on /dev/pts type devpts (rw,noexec,
/dev/sdb on /cdrom type vfat (rw,relatime,
/dev/loop0 on /rofs type squashfs (ro,noatime)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/
none on /dev/shm type tmpfs (rw,nosuid,nodev)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev)
none on /var/run type tmpfs (rw,nosuid,
none on /var/lock type tmpfs (rw,noexec,
binfmt_misc on /proc/sys/
gvfs-fuse-daemon on /home/ubuntu/.gvfs type fuse.gvfs-
/dev/sdc1 on /media/
Disk /dev/sdb: 4007 MB, 4007657472 bytes
124 heads, 62 sectors/track, 1018 cylinders
Units = cylinders of 7688 * 512 = 3936256 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0009e87d
This doesn't look like a partition table
Probably you selected the wrong device.
Device Boot Start End Blocks Id System
/dev/sdb1 ? 419273 451359 123339962 f4 SpeedStor
Partition 1 has different physical/logical beginnings (non-Linux?):
phys=(793, 22, 13) logical=(419272, 58, 21)
Partition 1 has different physical/logical endings:
phys=(870, 235, 61) logical=(451358, 102, 48)
Partition 1 does not end on cylinder boundary.
/dev/sdb2 ? 49193 92408 166116794 10 OPUS
Partition 2 has different physical/logical beginnings (non-Linux?):
phys=(205, 7, 0) logical=(49192, 74, 54)
Partition 2 has different physical/logical endings:
phys=(870, 235, 50) logical=(92407, 21, 7)
Partition 2 does not end on cylinder boundary.
/dev/sdb3 ? 29345 29345 5 74 Unknown
Partition 3 has different physical/logical beginnings (non-Linux?):
phys=(367, 66, 47) logical=(29344, 109, 13)
Partition 3 has different physical/logical endings:
phys=(370, 32, 37) logical=(29344, 109, 22)
Partition 3 does not end on cylinder boundary.
Partition table entries are not in disk order
Disk /dev/sdc: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0002cd95
Device Boot Start End Blocks Id System
/dev/sdc1 * 1 59655 479170560 83 Linux
/dev/sdc2 59655 60802 9212929 5 Extended
/dev/sdc5 59655 60802 9212928 82 Linux swap / Solaris
ubuntu@ubuntu:~$
I tried reinstalling it yesterday following the instructions you game me and still nothing happened. I will try one more time.
Revision history for this message
|
#5 |
To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.
ubuntu@ubuntu:~$ df -h; mount; sudo fdisk -l
Filesystem Size Used Avail Use% Mounted on
aufs 1.5G 97M 1.4G 7% /
none 1.5G 304K 1.5G 1% /dev
/dev/sdb 3.8G 696M 3.1G 19% /cdrom
/dev/loop0 661M 661M 0 100% /rofs
none 1.5G 712K 1.5G 1% /dev/shm
tmpfs 1.5G 9.6M 1.5G 1% /tmp
none 1.5G 88K 1.5G 1% /var/run
none 1.5G 0 1.5G 0% /var/lock
/dev/sdc1 450G 4.7G 423G 2% /media/
aufs on / type aufs (rw)
none on /proc type proc (rw,noexec,
none on /sys type sysfs (rw,noexec,
fusectl on /sys/fs/
none on /dev type devtmpfs (rw,mode=0755)
none on /dev/pts type devpts (rw,noexec,
/dev/sdb on /cdrom type vfat (rw,relatime,
/dev/loop0 on /rofs type squashfs (ro,noatime)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/
none on /dev/shm type tmpfs (rw,nosuid,nodev)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev)
none on /var/run type tmpfs (rw,nosuid,
none on /var/lock type tmpfs (rw,noexec,
binfmt_misc on /proc/sys/
gvfs-fuse-daemon on /home/ubuntu/.gvfs type fuse.gvfs-
/dev/sdc1 on /media/
Disk /dev/sdb: 4007 MB, 4007657472 bytes
124 heads, 62 sectors/track, 1018 cylinders
Units = cylinders of 7688 * 512 = 3936256 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0009e87d
This doesn't look like a partition table
Probably you selected the wrong device.
Device Boot Start End Blocks Id System
/dev/sdb1 ? 419273 451359 123339962 f4 SpeedStor
Partition 1 has different physical/logical beginnings (non-Linux?):
phys=(793, 22, 13) logical=(419272, 58, 21)
Partition 1 has different physical/logical endings:
phys=(870, 235, 61) logical=(451358, 102, 48)
Partition 1 does not end on cylinder boundary.
/dev/sdb2 ? 49193 92408 166116794 10 OPUS
Partition 2 has different physical/logical beginnings (non-Linux?):
phys=(205, 7, 0) logical=(49192, 74, 54)
Partition 2 has different physical/logical endings:
phys=(870, 235, 50) logical=(92407, 21, 7)
Partition 2 does not end on cylinder boundary.
/dev/sdb3 ? 29345 29345 5 74 Unknown
Partition 3 has different physical/logical beginnings (non-Linux?):
phys=(367, 66, 47) logical=(29344, 109, 13)
Partition 3 has different physical/logical endings:
phys=(370, 32, 37) logical=(29344, 109, 22)
Partition 3 does not end on cylinder boundary.
Partition table entries are not in disk order
Disk /dev/sdc: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0002cd95
Device Boot Start End Blocks Id System
/dev/sdc1 * 1 59655 479170560 83 Linux
/dev/sdc2 59655 60802 9212929 5 Extended
/dev/sdc5 59655 60802 9212928 82 Linux swap / Solaris
ubuntu@ubuntu:~$ sudo fdisk -l
Disk /dev/sdb: 4007 MB, 4007657472 bytes
124 heads, 62 sectors/track, 1018 cylinders
Units = cylinders of 7688 * 512 = 3936256 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0009e87d
This doesn't look like a partition table
Probably you selected the wrong device.
Device Boot Start End Blocks Id System
/dev/sdb1 ? 419273 451359 123339962 f4 SpeedStor
Partition 1 has different physical/logical beginnings (non-Linux?):
phys=(793, 22, 13) logical=(419272, 58, 21)
Partition 1 has different physical/logical endings:
phys=(870, 235, 61) logical=(451358, 102, 48)
Partition 1 does not end on cylinder boundary.
/dev/sdb2 ? 49193 92408 166116794 10 OPUS
Partition 2 has different physical/logical beginnings (non-Linux?):
phys=(205, 7, 0) logical=(49192, 74, 54)
Partition 2 has different physical/logical endings:
phys=(870, 235, 50) logical=(92407, 21, 7)
Partition 2 does not end on cylinder boundary.
/dev/sdb3 ? 29345 29345 5 74 Unknown
Partition 3 has different physical/logical beginnings (non-Linux?):
phys=(367, 66, 47) logical=(29344, 109, 13)
Partition 3 has different physical/logical endings:
phys=(370, 32, 37) logical=(29344, 109, 22)
Partition 3 does not end on cylinder boundary.
Partition table entries are not in disk order
Disk /dev/sdc: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0002cd95
Device Boot Start End Blocks Id System
/dev/sdc1 * 1 59655 479170560 83 Linux
/dev/sdc2 59655 60802 9212929 5 Extended
/dev/sdc5 59655 60802 9212928 82 Linux swap / Solaris
ubuntu@ubuntu:~$ sudo mount /dev/sdXY /mnt
mount: special device /dev/sdXY does not exist
ubuntu@ubuntu:~$ sudo mount /dev/sdc1 /mnt
ubuntu@ubuntu:~$ sudo mount /dev/sdc1 /mnt
mount: /dev/sdc1 already mounted or /mnt busy
mount: according to mtab, /dev/sdc1 is already mounted on /mnt
ubuntu@ubuntu:~$ sudo grub-install --root-
Installation finished. No error reported.
ubuntu@ubuntu:~$
Revision history for this message
|
#6 |
Are you now able to boot ? What are error messages, boot behavior ?
Revision history for this message
|
#7 |
I get the same error
Error command unknown
Error syntax
And then grub>
Revision history for this message
|
#8 |
Strange. Looks like your boot configuration file is inconsistent.
Could you run following procedure:
--------------
Provide data about boot configuration
There is a standard script provided to analyse boot configuration. Could you download script at:
http://
Then in a terminal (Ctrl+Alt+T) run command:
sudo bash ./boot_
This will produce a file named: RESULTS.txt. Paste content of this file in http://
Revision history for this message
|
#9 |
Here is the result. I hope this helps.
Revision history for this message
|
#10 |
grub.cfg looks OK as all other results from RESULTS.txt
Could you provide the first error messages ?
You should raise a bug. Having a PC with any internal disk is very unusual, and perhaps it's not correctly managed by Grub2.
You can also request help from ubuntuforums.org
Revision history for this message
|
#11 |
I inserted super grub disk to try to fix it and it rebooted. I still get error command unknown only once now but I have restarted it three times and so far ok. Should I mark it resolved even though I think this is only temporary
Revision history for this message
|
#12 |
Inserted rescatux disk, not super grub.
Can you help with this problem?
Provide an answer of your own, or ask RICHARD ESTRADA for more information if necessary.