Results 1 to 3 of 3
My Ubuntu 10.04 system locked up playing a video after a system update. When I rebooted it came up to the initramfs in busybox.
I tried the editing of the ...
- 09-30-2010 #1Just Joined!
- Join Date
- Sep 2010
- Posts
- 1
Grub2 Loader problems in Ubuntu
My Ubuntu 10.04 system locked up playing a video after a system update. When I rebooted it came up to the initramfs in busybox.
I tried the editing of the grub2 loader to replace the root=UUID with root=/dev/sd5.
This changed nothing.
Then I rebooted into LiveCD and did a sudo fdisk -l
This is my fdisk -l for my system booting with LiveCD
ubuntuatubuntu:~$ sudo fdisk -l
Disk /dev/sda: 100.0 GB, 100030242816 bytes
255 heads, 63 sectors/track, 12161 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: 0xc466c466
Device Boot Start End Blocks Id System
/dev/sda1 * 2 7358 59095102+ 7 HPFS/NTFS
/dev/sda2 7359 12162 38582273 5 Extended
/dev/sda5 7359 12162 38582272 83 Linux
ubuntuatubuntu:~$
This is what I get when I try to Mount my sda5 above
ubuntuatubuntu:~$ sudo mount -t /dev/sda5 /mnt
Usage: mount -V : print version
mount -h : print this help
mount : list mounted filesystems
mount -l : idem, including volume labels
So far the informational part. Next the mounting.
The command is `mount [-t fstype] something somewhere'.
Details found in /etc/fstab may be omitted.
mount -a [-t|-O] ... : mount all stuff from /etc/fstab
mount device : mount device at the known place
mount directory : mount known device here
mount -t type dev dir : ordinary mount command
Note that one does not really mount a device, one mounts
a filesystem (of the given type) found on the device.
One can also mount an already visible directory tree elsewhere:
mount --bind olddir newdir
or move a subtree:
mount --move olddir newdir
One can change the type of mount containing the directory dir:
mount --make-shared dir
mount --make-slave dir
mount --make-private dir
mount --make-unbindable dir
One can change the type of all the mounts in a mount subtree
containing the directory dir:
mount --make-rshared dir
mount --make-rslave dir
mount --make-rprivate dir
mount --make-runbindable dir
A device can be given by name, say /dev/hda1 or /dev/cdrom,
or by label, using -L label or by uuid, using -U uuid .
Other options: [-nfFrsvw] [-o options] [-p passwdfd].
For many more details, say man 8 mount .
ubuntuatubuntu:~$
Any ideas?!?!?
- 09-30-2010 #2
Please learn the syntax for mount. -t specifies the file system type. To mount your device just use mount /dev/sda5 /mnt/mountpoint where /mnt/mountpoint is a directory you have to create.
- 10-01-2010 #3It should be sda5 instead of sd5.I tried the editing of the grub2 loader to replace the root=UUID with root=/dev/sd5.It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First


Reply With Quote