Thread: Commands for mounting a flash drive?
so decided start new thread, know commands mounting flash drive? need install boot-repair-disk.iso flash drive. if can install it, can select boot , run @ start try , fix grub. grub messed up, , if need be, i'll , create run commands syntax return giving grub info.
here in flash drive far:
bus 001 device 001: id 1d6b:0002 linux foundation 2.0 root hub
bus 002 device 001: id 1d6b:0001 linux foundation 1.1 root hub
bus 003 device 001: id 1d6b:0001 linux foundation 1.1 root hub
bus 004 device 001: id 1d6b:0001 linux foundation 1.1 root hub
bus 005 device 001: id 1d6b:0001 linux foundation 1.1 root hub
bus 003 device 002: id 0557:7000 aten international co., ltd hub
bus 003 device 003: id 03f0:0d17 hewlett-packard laserjet 1012
bus 004 device 002: id 045e:00f5 microsoft corp. lifecam vx-3000
bus 003 device 004: id 0518:0001 ezkey corp. usb ps2 adaptor v1.09
bus 001 device 007: id 0781:5530 sandisk corp. cruzer u3 4gb sdcz36
sorry, usb devices, sandisk corp cruzer u3 4gb sdcz36 flash drive. trying list in flash drive, isn't helping either:
i'll stop there lot of stuff huh? wow painful saved in text file.code:sudo su root@ubuntu:/home/ubuntu# cd /desktop/ bash: cd: /desktop/: no such file or directory root@ubuntu:/home/ubuntu# cd desktop/ root@ubuntu:/home/ubuntu/desktop# mkdir flash :confused: anyway, didn't know if more convenient use existing thread or start new one, started new 1 , if it's not convenient old thread down page bit. here boot script info: boot info script 0.60 [17 may 2011] ============================= boot info summary: =============================== => syslinux mbr (3.61-4.03) installed in mbr of /dev/sda. sda1: __________________________________________________________________________ file system: ext3 boot sector type: - boot sector info: operating system: ubuntu 11.10 boot files: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img sda2: __________________________________________________________________________ file system: extended partition boot sector type: - boot sector info: sda5: __________________________________________________________________________ file system: swap boot sector type: - boot sector info: sda6: __________________________________________________________________________ file system: ext4 boot sector type: - boot sector info: operating system: linux mint 11 katya boot files: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img sda7: __________________________________________________________________________ file system: swap boot sector type: - boot sector info: ============================ drive/partition info: ============================= drive: sda _____________________________________________________________________ disk /dev/sda: 500.1 gb, 500107862016 bytes 255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors units = sectors of 1 * 512 = 512 bytes sector size (logical/physical): 512 bytes / 512 bytes partition boot start sector end sector # of sectors id system /dev/sda1 * 95,379,456 658,579,455 563,200,000 83 linux /dev/sda2 658,581,502 976,771,071 318,189,570 5 extended /dev/sda5 853,129,216 924,809,215 71,680,000 82 linux swap / solaris /dev/sda6 658,581,504 776,222,719 117,641,216 83 linux /dev/sda7 776,224,768 781,449,215 5,224,448 82 linux swap / solaris "blkid" output: ________________________________________________________________ device uuid type label /dev/loop0 squashfs /dev/sda1 4b94c53e-8dc8-45b9-af1e-aa6f47568e1e ext3 /dev/sda5 f429ac74-87eb-40e9-a0cc-7ecceb923edc swap /dev/sda6 8bd7df9e-99fb-40b8-99ae-5a155f67b421 ext4 /dev/sda7 4a5c3c86-5973-4976-81de-8bf3f968aa6f swap ================================ mount points: ================================= device mount_point type options /dev/loop0 /rofs squashfs (ro,noatime) /dev/sda1 /media/4b94c53e-8dc8-45b9-af1e-aa6f47568e1e ext3 (rw,nosuid,nodev,uhelper=udisks) /dev/sda6 /media/8bd7df9e-99fb-40b8-99ae-5a155f67b421 ext4 (rw,nosuid,nodev,uhelper=udisks) /dev/sr0 /cdrom iso9660 (ro,noatime) =========================== sda1/boot/grub/grub.cfg: =========================== -------------------------------------------------------------------------------- # # not edit file # # automatically generated grub-mkconfig using templates # /etc/grub.d , settings /etc/default/grub # ### begin /etc/grub.d/00_header ### if [ -s $prefix/grubenv ]; set have_grubenv=true load_env fi set default="0" if [ "${prev_saved_entry}" ]; set saved_entry="${prev_saved_entry}" save_env saved_entry set prev_saved_entry= save_env prev_saved_entry set boot_once=true fi function savedefault { if [ -z "${boot_once}" ]; saved_entry="${chosen}" save_env saved_entry fi } function recordfail { set recordfail=1 if [ -n "${have_grubenv}" ]; if [ -z "${boot_once}" ]; save_env recordfail; fi; fi } function load_video { insmod vbe insmod vga insmod video_bochs insmod video_cirrus } insmod part_msdos insmod ext2 set root='(hd0,msdos1)' search --no-floppy --fs-uuid --set=root 4b94c53e-8dc8-45b9-af1e-aa6f47568e1e if loadfont /usr/share/grub/unicode.pf2 ; set gfxmode=auto load_video insmod gfxterm insmod part_msdos insmod ext2 set root='(hd0,msdos1)' search --no-floppy --fs-uuid --set=root 4b94c53e-8dc8-45b9-af1e-aa6f47568e1e set locale_dir=($root)/boot/grub/locale set lang=en_us insmod gettext fi terminal_output gfxterm if [ "${recordfail}" = 1 ]; set timeout=-1 else set timeout=10 fi ### end /etc/grub.d/00_header ### ### begin /etc/grub.d/05_debian_theme ### set menu_color_normal=white/black set menu_color_highlight=black/light-gray if background_color 44,0,30; clear fi ### end /etc/grub.d/05_debian_theme ### ### begin /etc/grub.d/10_linux ### if [ ${recordfail} != 1 ]; if [ -e ${prefix}/gfxblacklist.txt ]; if hwmatch ${prefix}/gfxblacklist.txt 3; if [ ${match} = 0 ]; set linux_gfx_mode=keep else set linux_gfx_mode=text fi else set linux_gfx_mode=text fi else set linux_gfx_mode=keep fi else set linux_gfx_mode=text fi export linux_gfx_mode if [ "$linux_gfx_mode" != "text" ]; load_video; fi menuentry 'ubuntu, linux 3.0.0-14-generic' --class ubuntu --class gnu-linux --class gnu --class os { recordfail set gfxpayload=$linux_gfx_mode insmod gzio insmod part_msdos insmod ext2 set root='(hd0,msdos1)' search --no-floppy --fs-uuid --set=root 4b94c53e-8dc8-45b9-af1e-aa6f47568e1e linux /boot/vmlinuz-3.0.0-14-generic root=uuid=4b94c53e-8dc8-45b9-af1e-aa6f47568e1e ro quiet splash vt.handoff=7 initrd /boot/initrd.img-3.0.0-14-generic } menuentry 'ubuntu, linux 3.0.0-14-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os { recordfail insmod gzio insmod part_msdos insmod ext2 set root='(hd0,msdos1)' search --no-floppy --fs-uuid --set=root 4b94c53e-8dc8-45b9-af1e-aa6f47568e1e echo 'loading linux 3.0.0-14-generic ...' linux /boot/vmlinuz-3.0.0-14-generic root=uuid=4b94c53e-8dc8-45b9-af1e-aa6f47568e1e ro recovery nomodeset echo 'loading initial ramdisk ...' initrd /boot/initrd.img-3.0.0-14-generic } submenu "previous linux versions" { menuentry 'ubuntu, linux 3.0.0-13-generic' --class ubuntu --class gnu-linux --class gnu --class os { recordfail set gfxpayload=$linux_gfx_mode insmod gzio insmod part_msdos insmod ext2 set root='(hd0,msdos1)' search --no-floppy --fs-uuid --set=root 4b94c53e-8dc8-45b9-af1e-aa6f47568e1e linux /boot/vmlinuz-3.0.0-13-generic root=uuid=4b94c53e-8dc8-45b9-af1e-aa6f47568e1e ro quiet splash vt.handoff=7 initrd /boot/initrd.img-3.0.0-13-generic } menuentry 'ubuntu, linux 3.0.0-13-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os { recordfail insmod gzio insmod part_msdos insmod ext2 set root='(hd0,msdos1)' search --no-floppy --fs-uuid --set=root 4b94c53e-8dc8-45b9-af1e-aa6f47568e1e echo 'loading linux 3.0.0-13-generic ...' linux /boot/vmlinuz-3.0.0-13-generic root=uuid=4b94c53e-8dc8-45b9-af1e-aa6f47568e1e ro recovery nomodeset echo 'loading initial ramdisk ...' initrd /boot/initrd.img-3.0.0-13-generic } menuentry 'ubuntu, linux 3.0.0-12-generic' --class ubuntu --class gnu-linux --class gnu --class os { recordfail set gfxpayload=$linux_gfx_mode insmod gzio insmod part_msdos insmod ext2 set root='(hd0,msdos1)' search --no-floppy --fs-uuid --set=root 4b94c53e-8dc8-45b9-af1e-aa6f47568e1e linux /boot/vmlinuz-3.0.0-12-generic root=uuid=4b94c53e-8dc8-45b9-af1e-aa6f47568e1e ro quiet splash vt.handoff=7 initrd /boot/initrd.img-3.0.0-12-generic } menuentry 'ubuntu, linux 3.0.0-12-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os { recordfail insmod gzio insmod part_msdos insmod ext2 set root='(hd0,msdos1)' search --no-floppy --fs-uuid --set=root 4b94c53e-8dc8-45b9-af1e-aa6f47568e1e echo 'loading linux 3.0.0-12-generic ...' linux /boot/vmlinuz-3.0.0-12-generic root=uuid=4b94c53e-8dc8-45b9-af1e-aa6f47568e1e ro recovery nomodeset echo 'loading initial ramdisk ...' initrd /boot/initrd.img-3.0.0-12-generic } menuentry 'ubuntu, linux 2.6.38-11-generic' --class ubuntu --class gnu-linux --class gnu --class os { recordfail set gfxpayload=$linux_gfx_mode insmod gzio insmod part_msdos insmod ext2 set root='(hd0,msdos1)' search --no-floppy --fs-uuid --set=root 4b94c53e-8dc8-45b9-af1e-aa6f47568e1e linux /boot/vmlinuz-2.6.38-11-generic root=uuid=4b94c53e-8dc8-45b9-af1e-aa6f47568e1e ro quiet splash vt.handoff=7 initrd /boot/initrd.img-2.6.38-11-generic } menuentry 'ubuntu, linux 2.6.38-11-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os { recordfail insmod gzio insmod part_msdos insmod ext2 set root='(hd0,msdos1)' search --no-floppy --fs-uuid --set=root 4b94c53e-8dc8-45b9-af1e-aa6f47568e1e echo 'loading linux 2.6.38-11-generic ...' linux /boot/vmlinuz-2.6.38-11-generic root=uuid=4b94c53e-8dc8-45b9-af1e-aa6f47568e1e ro recovery nomodeset echo 'loading initial ramdisk ...' initrd /boot/initrd.img-2.6.38-11-generic } } ### end /etc/grub.d/10_linux ### ### begin /etc/grub.d/20_linux_xen ### ### end /etc/grub.d/20_linux_xen ### ### begin /etc/grub.d/20_memtest86+ ### menuentry "memory test (memtest86+)" { insmod part_msdos insmod ext2 set root='(hd0,msdos1)' search --no-floppy --fs-uuid --set=root 4b94c53e-8dc8-45b9-af1e-aa6f47568e1e linux16 /boot/memtest86+.bin } menuentry "memory test (memtest86+, serial console 115200)" { insmod part_msdos insmod ext2 set root='(hd0,msdos1)' search --no-floppy --fs-uuid --set=root 4b94c53e-8dc8-45b9-af1e-aa6f47568e1e linux16 /boot/memtest86+.bin console=ttys0,115200n8 } ### end /etc/grub.d/20_memtest86+ ### ### begin /etc/grub.d/30_os-prober ### menuentry "linux mint 11, 2.6.38-12-generic (/dev/sda6) (on /dev/sda6)" --class gnu-linux --class gnu --class os { insmod part_msdos insmod ext2 set root='(hd0,msdos6)' search --no-floppy --fs-uuid --set=root 8bd7df9e-99fb-40b8-99ae-5a155f67b421 linux /boot/vmlinuz-2.6.38-12-generic root=uuid=8bd7df9e-99fb-40b8-99ae-5a155f67b421 ro quiet splash vt.handoff=7 initrd /boot/initrd.img-2.6.38-12-generic } menuentry "linux mint 11, 2.6.38-12-generic (/dev/sda6) -- recovery mode (on /dev/sda6)" --class gnu-linux --class gnu --class os { insmod part_msdos insmod ext2 set root='(hd0,msdos6)' search --no-floppy --fs-uuid --set=root 8bd7df9e-99fb-40b8-99ae-5a155f67b421 linux /boot/vmlinuz-2.6.38-12-generic root=uuid=8bd7df9e-99fb-40b8-99ae-5a155f67b421 ro single initrd /boot/initrd.img-2.6.38-12-generic } menuentry "linux mint 11, 2.6.38-8-generic (/dev/sda6) (on /dev/sda6)" --class gnu-linux --class gnu --class os { insmod part_msdos insmod ext2 set root='(hd0,msdos6)' search --no-floppy --fs-uuid --set=root 8bd7df9e-99fb-40b8-99ae-5a155f67b421 linux /boot/vmlinuz-2.6.38-8-generic root=uuid=8bd7df9e-99fb-40b8-99ae-5a155f67b421 ro quiet splash vt.handoff=7 initrd /boot/initrd.img-2.6.38-8-generic } menuentry "linux mint 11, 2.6.38-8-generic (/dev/sda6) -- recovery mode (on /dev/sda6)" --class gnu-linux --class gnu --class os { insmod part_msdos insmod ext2 set root='(hd0,msdos6)' search --no-floppy --fs-uuid --set=root 8bd7df9e-99fb-40b8-99ae-5a155f67b421 linux /boot/vmlinuz-2.6.38-8-generic root=uuid=8bd7df9e-99fb-40b8-99ae-5a155f67b421 ro single initrd /boot/initrd.img-2.6.38-8-generic } ### end /etc/grub.d/30_os-prober ###
oldfred , jkyleokc gave information repair grub , mbr in previous postings.
still having trouble?
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [lubuntu] Commands for mounting a flash drive?
Ubuntu
Comments
Post a Comment