SliTaz SliTaz Forum

You are not logged in.

#1 2017-08-27 22:51:53

Fair Peace
Member
Registered: 2017-08-27
Posts: 16

Can't access hard drive

Hello!  I need help. I usually use WattOS and just found SliTaz. After many unsuccessful attempt to boot to a bootable USB loaded with Slitaz (error messages and other stuff), I made a CD of the Stable 4.0 version.  I had success getting to the desktop, but found that Midori wasn't able to access many webpages (figured out is is because it needs to be updated) so decided to reboot to go to WattOS and make a CD of 5.0.  When I rebooted (with the Hard Drive re-set as the 1st option in boot options and the CD and USBs all removed), it keeps booting only to SliTaz.  How do I get it to boot back to WattOS?

Thanks!

Offline

#2 2017-08-28 06:14:49

Ceel
Administrator
Registered: 2011-04-02
Posts: 1,424

Re: Can't access hard drive

Hi,

If SliTaz boots without the LiveCD/USB, it's because it is installed...

See the configuration file of your boot loader.

Offline

#3 2017-08-28 06:57:14

Fair Peace
Member
Registered: 2017-08-27
Posts: 16

Re: Can't access hard drive

Hi Ceel - thanks so much for taking the time to reply.  I am confused as to how I installed it as I was using it from the Live CD and didn't click on the option to install. 

I appreciate your answer about the bootloader and have to admit I am still learning a lot about using Linux and am unclear where I would look for that and what I am looking for.  Any guidance you could prefer would be  much appreciated.  I am feeling a little desperate.....

Offline

#4 2017-08-28 07:34:16

Ceel
Administrator
Registered: 2011-04-02
Posts: 1,424

Re: Can't access hard drive

If wattOS uses Grub as boot loader, you'll find the configuration file (grub.lst or grub.cfg if Grub2) in /boot/grub. Open it with a file editor and copy/past the contain in your post.

Open the terminal Sakura and become root; type [c]su[/c]

The system will answer [c]Password:[/c].

Enter the password ([c]root[/c], nothing will be displayed when typing) and valid.

Type [c]fdisk -l[/c], copy/paste the output of the command.

Offline

#5 2017-08-29 05:18:54

Fair Peace
Member
Registered: 2017-08-27
Posts: 16

Re: Can't access hard drive

Hi Ceel - I really appreciate your help and the specific steps.  They were very clear.  Here is the grub.cfg info and below that is the terminal output.  Also, every time I boot, I am asked to choose with SliTaz I want to use as well as questions about language and keyboard, if that helps figure anything out.  Thanks again!

[c]#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  set have_grubenv=true
  load_env
fi
if [ "${next_entry}" ] ; then
   set default="${next_entry}"
   set next_entry=
   save_env next_entry
   set boot_once=true
else
   set default="0"
fi

if [ x"${feature_menuentry_id}" = xy ]; then
  menuentry_id_option="--id"
else
  menuentry_id_option=""
fi

export menuentry_id_option

if [ "${prev_saved_entry}" ]; then
  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}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}
function recordfail {
  set recordfail=1
  if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
}
function load_video {
  if [ x$feature_all_video_module = xy ]; then
    insmod all_video
  else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
  fi
}

if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  f53e0d06-294e-4caf-bac2-bb686ac89fa6
else
  search --no-floppy --fs-uuid --set=root f53e0d06-294e-4caf-bac2-bb686ac89fa6
fi
    font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=en_US
  insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
  set timeout=30
else
  if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=menu
    set timeout=10
  # Fallback normal timeout code in case the timeout_style feature is
  # unavailable.
  else
    set timeout=10
  fi
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=cyan/blue
set menu_color_highlight=white/blue
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
    set gfxpayload="${1}"
    if [ "${1}" = "keep" ]; then
        set vt_handoff=vt.handoff=7
    else
        set vt_handoff=
    fi
}
if [ "${recordfail}" != 1 ]; then
  if [ -e ${prefix}/gfxblacklist.txt ]; then
    if hwmatch ${prefix}/gfxblacklist.txt 3; then
      if [ ${match} = 0 ]; then
        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
menuentry 'wattOS-R10-32bit GNU/Linux' --class wattos_r10_32bit --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-f53e0d06-294e-4caf-bac2-bb686ac89fa6' {
    recordfail
    load_video
    gfxmode $linux_gfx_mode
    insmod gzio
    if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
      search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  f53e0d06-294e-4caf-bac2-bb686ac89fa6
    else
      search --no-floppy --fs-uuid --set=root f53e0d06-294e-4caf-bac2-bb686ac89fa6
    fi
        linux    /boot/vmlinuz-4.4.0-89-generic root=UUID=f53e0d06-294e-4caf-bac2-bb686ac89fa6 ro  quiet splash $vt_handoff
    initrd    /boot/initrd.img-4.4.0-89-generic
}
submenu 'Advanced options for wattOS-R10-32bit GNU/Linux' $menuentry_id_option 'gnulinux-advanced-f53e0d06-294e-4caf-bac2-bb686ac89fa6' {
    menuentry 'wattOS-R10-32bit GNU/Linux, with Linux 4.4.0-89-generic' --class wattos_r10_32bit --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-89-generic-advanced-f53e0d06-294e-4caf-bac2-bb686ac89fa6' {
        recordfail
        load_video
        gfxmode $linux_gfx_mode
        insmod gzio
        if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
        insmod part_msdos
        insmod ext2
        set root='hd0,msdos1'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  f53e0d06-294e-4caf-bac2-bb686ac89fa6
        else
          search --no-floppy --fs-uuid --set=root f53e0d06-294e-4caf-bac2-bb686ac89fa6
        fi
        echo    'Loading Linux 4.4.0-89-generic ...'
            linux    /boot/vmlinuz-4.4.0-89-generic root=UUID=f53e0d06-294e-4caf-bac2-bb686ac89fa6 ro  quiet splash $vt_handoff
        echo    'Loading initial ramdisk ...'
        initrd    /boot/initrd.img-4.4.0-89-generic
    }
    menuentry 'wattOS-R10-32bit GNU/Linux, with Linux 4.4.0-89-generic (recovery mode)' --class wattos_r10_32bit --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-89-generic-recovery-f53e0d06-294e-4caf-bac2-bb686ac89fa6' {
        recordfail
        load_video
        insmod gzio
        if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
        insmod part_msdos
        insmod ext2
        set root='hd0,msdos1'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  f53e0d06-294e-4caf-bac2-bb686ac89fa6
        else
          search --no-floppy --fs-uuid --set=root f53e0d06-294e-4caf-bac2-bb686ac89fa6
        fi
        echo    'Loading Linux 4.4.0-89-generic ...'
            linux    /boot/vmlinuz-4.4.0-89-generic root=UUID=f53e0d06-294e-4caf-bac2-bb686ac89fa6 ro recovery nomodeset
        echo    'Loading initial ramdisk ...'
        initrd    /boot/initrd.img-4.4.0-89-generic
    }
    menuentry 'wattOS-R10-32bit GNU/Linux, with Linux 4.4.0-87-generic' --class wattos_r10_32bit --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-87-generic-advanced-f53e0d06-294e-4caf-bac2-bb686ac89fa6' {
        recordfail
        load_video
        gfxmode $linux_gfx_mode
        insmod gzio
        if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
        insmod part_msdos
        insmod ext2
        set root='hd0,msdos1'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  f53e0d06-294e-4caf-bac2-bb686ac89fa6
        else
          search --no-floppy --fs-uuid --set=root f53e0d06-294e-4caf-bac2-bb686ac89fa6
        fi
        echo    'Loading Linux 4.4.0-87-generic ...'
            linux    /boot/vmlinuz-4.4.0-87-generic root=UUID=f53e0d06-294e-4caf-bac2-bb686ac89fa6 ro  quiet splash $vt_handoff
        echo    'Loading initial ramdisk ...'
        initrd    /boot/initrd.img-4.4.0-87-generic
    }
    menuentry 'wattOS-R10-32bit GNU/Linux, with Linux 4.4.0-87-generic (recovery mode)' --class wattos_r10_32bit --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-87-generic-recovery-f53e0d06-294e-4caf-bac2-bb686ac89fa6' {
        recordfail
        load_video
        insmod gzio
        if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
        insmod part_msdos
        insmod ext2
        set root='hd0,msdos1'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  f53e0d06-294e-4caf-bac2-bb686ac89fa6
        else
          search --no-floppy --fs-uuid --set=root f53e0d06-294e-4caf-bac2-bb686ac89fa6
        fi
        echo    'Loading Linux 4.4.0-87-generic ...'
            linux    /boot/vmlinuz-4.4.0-87-generic root=UUID=f53e0d06-294e-4caf-bac2-bb686ac89fa6 ro recovery nomodeset
        echo    'Loading initial ramdisk ...'
        initrd    /boot/initrd.img-4.4.0-87-generic
    }
    menuentry 'wattOS-R10-32bit GNU/Linux, with Linux 4.4.0-83-generic' --class wattos_r10_32bit --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-83-generic-advanced-f53e0d06-294e-4caf-bac2-bb686ac89fa6' {
        recordfail
        load_video
        gfxmode $linux_gfx_mode
        insmod gzio
        if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
        insmod part_msdos
        insmod ext2
        set root='hd0,msdos1'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  f53e0d06-294e-4caf-bac2-bb686ac89fa6
        else
          search --no-floppy --fs-uuid --set=root f53e0d06-294e-4caf-bac2-bb686ac89fa6
        fi
        echo    'Loading Linux 4.4.0-83-generic ...'
            linux    /boot/vmlinuz-4.4.0-83-generic root=UUID=f53e0d06-294e-4caf-bac2-bb686ac89fa6 ro  quiet splash $vt_handoff
        echo    'Loading initial ramdisk ...'
        initrd    /boot/initrd.img-4.4.0-83-generic
    }
    menuentry 'wattOS-R10-32bit GNU/Linux, with Linux 4.4.0-83-generic (recovery mode)' --class wattos_r10_32bit --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-83-generic-recovery-f53e0d06-294e-4caf-bac2-bb686ac89fa6' {
        recordfail
        load_video
        insmod gzio
        if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
        insmod part_msdos
        insmod ext2
        set root='hd0,msdos1'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  f53e0d06-294e-4caf-bac2-bb686ac89fa6
        else
          search --no-floppy --fs-uuid --set=root f53e0d06-294e-4caf-bac2-bb686ac89fa6
        fi
        echo    'Loading Linux 4.4.0-83-generic ...'
            linux    /boot/vmlinuz-4.4.0-83-generic root=UUID=f53e0d06-294e-4caf-bac2-bb686ac89fa6 ro recovery nomodeset
        echo    'Loading initial ramdisk ...'
        initrd    /boot/initrd.img-4.4.0-83-generic
    }
    menuentry 'wattOS-R10-32bit GNU/Linux, with Linux 4.4.0-78-generic' --class wattos_r10_32bit --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-78-generic-advanced-f53e0d06-294e-4caf-bac2-bb686ac89fa6' {
        recordfail
        load_video
        gfxmode $linux_gfx_mode
        insmod gzio
        if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
        insmod part_msdos
        insmod ext2
        set root='hd0,msdos1'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  f53e0d06-294e-4caf-bac2-bb686ac89fa6
        else
          search --no-floppy --fs-uuid --set=root f53e0d06-294e-4caf-bac2-bb686ac89fa6
        fi
        echo    'Loading Linux 4.4.0-78-generic ...'
            linux    /boot/vmlinuz-4.4.0-78-generic root=UUID=f53e0d06-294e-4caf-bac2-bb686ac89fa6 ro  quiet splash $vt_handoff
        echo    'Loading initial ramdisk ...'
        initrd    /boot/initrd.img-4.4.0-78-generic
    }
    menuentry 'wattOS-R10-32bit GNU/Linux, with Linux 4.4.0-78-generic (recovery mode)' --class wattos_r10_32bit --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-78-generic-recovery-f53e0d06-294e-4caf-bac2-bb686ac89fa6' {
        recordfail
        load_video
        insmod gzio
        if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
        insmod part_msdos
        insmod ext2
        set root='hd0,msdos1'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  f53e0d06-294e-4caf-bac2-bb686ac89fa6
        else
          search --no-floppy --fs-uuid --set=root f53e0d06-294e-4caf-bac2-bb686ac89fa6
        fi
        echo    'Loading Linux 4.4.0-78-generic ...'
            linux    /boot/vmlinuz-4.4.0-78-generic root=UUID=f53e0d06-294e-4caf-bac2-bb686ac89fa6 ro recovery nomodeset
        echo    'Loading initial ramdisk ...'
        initrd    /boot/initrd.img-4.4.0-78-generic
    }
    menuentry 'wattOS-R10-32bit GNU/Linux, with Linux 4.4.0-72-generic' --class wattos_r10_32bit --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-72-generic-advanced-f53e0d06-294e-4caf-bac2-bb686ac89fa6' {
        recordfail
        load_video
        gfxmode $linux_gfx_mode
        insmod gzio
        if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
        insmod part_msdos
        insmod ext2
        set root='hd0,msdos1'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  f53e0d06-294e-4caf-bac2-bb686ac89fa6
        else
          search --no-floppy --fs-uuid --set=root f53e0d06-294e-4caf-bac2-bb686ac89fa6
        fi
        echo    'Loading Linux 4.4.0-72-generic ...'
            linux    /boot/vmlinuz-4.4.0-72-generic root=UUID=f53e0d06-294e-4caf-bac2-bb686ac89fa6 ro  quiet splash $vt_handoff
        echo    'Loading initial ramdisk ...'
        initrd    /boot/initrd.img-4.4.0-72-generic
    }
    menuentry 'wattOS-R10-32bit GNU/Linux, with Linux 4.4.0-72-generic (recovery mode)' --class wattos_r10_32bit --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-72-generic-recovery-f53e0d06-294e-4caf-bac2-bb686ac89fa6' {
        recordfail
        load_video
        insmod gzio
        if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
        insmod part_msdos
        insmod ext2
        set root='hd0,msdos1'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  f53e0d06-294e-4caf-bac2-bb686ac89fa6
        else
          search --no-floppy --fs-uuid --set=root f53e0d06-294e-4caf-bac2-bb686ac89fa6
        fi
        echo    'Loading Linux 4.4.0-72-generic ...'
            linux    /boot/vmlinuz-4.4.0-72-generic root=UUID=f53e0d06-294e-4caf-bac2-bb686ac89fa6 ro recovery nomodeset
        echo    'Loading initial ramdisk ...'
        initrd    /boot/initrd.img-4.4.0-72-generic
    }
    menuentry 'wattOS-R10-32bit GNU/Linux, with Linux 4.4.0-66-generic' --class wattos_r10_32bit --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-66-generic-advanced-f53e0d06-294e-4caf-bac2-bb686ac89fa6' {
        recordfail
        load_video
        gfxmode $linux_gfx_mode
        insmod gzio
        if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
        insmod part_msdos
        insmod ext2
        set root='hd0,msdos1'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  f53e0d06-294e-4caf-bac2-bb686ac89fa6
        else
          search --no-floppy --fs-uuid --set=root f53e0d06-294e-4caf-bac2-bb686ac89fa6
        fi
        echo    'Loading Linux 4.4.0-66-generic ...'
            linux    /boot/vmlinuz-4.4.0-66-generic root=UUID=f53e0d06-294e-4caf-bac2-bb686ac89fa6 ro  quiet splash $vt_handoff
        echo    'Loading initial ramdisk ...'
        initrd    /boot/initrd.img-4.4.0-66-generic
    }
    menuentry 'wattOS-R10-32bit GNU/Linux, with Linux 4.4.0-66-generic (recovery mode)' --class wattos_r10_32bit --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-66-generic-recovery-f53e0d06-294e-4caf-bac2-bb686ac89fa6' {
        recordfail
        load_video
        insmod gzio
        if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
        insmod part_msdos
        insmod ext2
        set root='hd0,msdos1'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  f53e0d06-294e-4caf-bac2-bb686ac89fa6
        else
          search --no-floppy --fs-uuid --set=root f53e0d06-294e-4caf-bac2-bb686ac89fa6
        fi
        echo    'Loading Linux 4.4.0-66-generic ...'
            linux    /boot/vmlinuz-4.4.0-66-generic root=UUID=f53e0d06-294e-4caf-bac2-bb686ac89fa6 ro recovery nomodeset
        echo    'Loading initial ramdisk ...'
        initrd    /boot/initrd.img-4.4.0-66-generic
    }
    menuentry 'wattOS-R10-32bit GNU/Linux, with Linux 4.4.0-64-generic' --class wattos_r10_32bit --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-64-generic-advanced-f53e0d06-294e-4caf-bac2-bb686ac89fa6' {
        recordfail
        load_video
        gfxmode $linux_gfx_mode
        insmod gzio
        if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
        insmod part_msdos
        insmod ext2
        set root='hd0,msdos1'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  f53e0d06-294e-4caf-bac2-bb686ac89fa6
        else
          search --no-floppy --fs-uuid --set=root f53e0d06-294e-4caf-bac2-bb686ac89fa6
        fi
        echo    'Loading Linux 4.4.0-64-generic ...'
            linux    /boot/vmlinuz-4.4.0-64-generic root=UUID=f53e0d06-294e-4caf-bac2-bb686ac89fa6 ro  quiet splash $vt_handoff
        echo    'Loading initial ramdisk ...'
        initrd    /boot/initrd.img-4.4.0-64-generic
    }
    menuentry 'wattOS-R10-32bit GNU/Linux, with Linux 4.4.0-64-generic (recovery mode)' --class wattos_r10_32bit --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-64-generic-recovery-f53e0d06-294e-4caf-bac2-bb686ac89fa6' {
        recordfail
        load_video
        insmod gzio
        if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
        insmod part_msdos
        insmod ext2
        set root='hd0,msdos1'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  f53e0d06-294e-4caf-bac2-bb686ac89fa6
        else
          search --no-floppy --fs-uuid --set=root f53e0d06-294e-4caf-bac2-bb686ac89fa6
        fi
        echo    'Loading Linux 4.4.0-64-generic ...'
            linux    /boot/vmlinuz-4.4.0-64-generic root=UUID=f53e0d06-294e-4caf-bac2-bb686ac89fa6 ro recovery nomodeset
        echo    'Loading initial ramdisk ...'
        initrd    /boot/initrd.img-4.4.0-64-generic
    }
    menuentry 'wattOS-R10-32bit GNU/Linux, with Linux 4.4.0-59-generic' --class wattos_r10_32bit --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-59-generic-advanced-f53e0d06-294e-4caf-bac2-bb686ac89fa6' {
        recordfail
        load_video
        gfxmode $linux_gfx_mode
        insmod gzio
        if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
        insmod part_msdos
        insmod ext2
        set root='hd0,msdos1'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  f53e0d06-294e-4caf-bac2-bb686ac89fa6
        else
          search --no-floppy --fs-uuid --set=root f53e0d06-294e-4caf-bac2-bb686ac89fa6
        fi
        echo    'Loading Linux 4.4.0-59-generic ...'
            linux    /boot/vmlinuz-4.4.0-59-generic root=UUID=f53e0d06-294e-4caf-bac2-bb686ac89fa6 ro  quiet splash $vt_handoff
        echo    'Loading initial ramdisk ...'
        initrd    /boot/initrd.img-4.4.0-59-generic
    }
    menuentry 'wattOS-R10-32bit GNU/Linux, with Linux 4.4.0-59-generic (recovery mode)' --class wattos_r10_32bit --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-59-generic-recovery-f53e0d06-294e-4caf-bac2-bb686ac89fa6' {
        recordfail
        load_video
        insmod gzio
        if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
        insmod part_msdos
        insmod ext2
        set root='hd0,msdos1'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  f53e0d06-294e-4caf-bac2-bb686ac89fa6
        else
          search --no-floppy --fs-uuid --set=root f53e0d06-294e-4caf-bac2-bb686ac89fa6
        fi
        echo    'Loading Linux 4.4.0-59-generic ...'
            linux    /boot/vmlinuz-4.4.0-59-generic root=UUID=f53e0d06-294e-4caf-bac2-bb686ac89fa6 ro recovery nomodeset
        echo    'Loading initial ramdisk ...'
        initrd    /boot/initrd.img-4.4.0-59-generic
    }
    menuentry 'wattOS-R10-32bit GNU/Linux, with Linux 4.4.0-36-generic' --class wattos_r10_32bit --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-36-generic-advanced-f53e0d06-294e-4caf-bac2-bb686ac89fa6' {
        recordfail
        load_video
        gfxmode $linux_gfx_mode
        insmod gzio
        if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
        insmod part_msdos
        insmod ext2
        set root='hd0,msdos1'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  f53e0d06-294e-4caf-bac2-bb686ac89fa6
        else
          search --no-floppy --fs-uuid --set=root f53e0d06-294e-4caf-bac2-bb686ac89fa6
        fi
        echo    'Loading Linux 4.4.0-36-generic ...'
            linux    /boot/vmlinuz-4.4.0-36-generic root=UUID=f53e0d06-294e-4caf-bac2-bb686ac89fa6 ro  quiet splash $vt_handoff
        echo    'Loading initial ramdisk ...'
        initrd    /boot/initrd.img-4.4.0-36-generic
    }
    menuentry 'wattOS-R10-32bit GNU/Linux, with Linux 4.4.0-36-generic (recovery mode)' --class wattos_r10_32bit --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-36-generic-recovery-f53e0d06-294e-4caf-bac2-bb686ac89fa6' {
        recordfail
        load_video
        insmod gzio
        if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
        insmod part_msdos
        insmod ext2
        set root='hd0,msdos1'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  f53e0d06-294e-4caf-bac2-bb686ac89fa6
        else
          search --no-floppy --fs-uuid --set=root f53e0d06-294e-4caf-bac2-bb686ac89fa6
        fi
        echo    'Loading Linux 4.4.0-36-generic ...'
            linux    /boot/vmlinuz-4.4.0-36-generic root=UUID=f53e0d06-294e-4caf-bac2-bb686ac89fa6 ro recovery nomodeset
        echo    'Loading initial ramdisk ...'
        initrd    /boot/initrd.img-4.4.0-36-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'
    if [ x$feature_platform_search_hint = xy ]; then
      search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  f53e0d06-294e-4caf-bac2-bb686ac89fa6
    else
      search --no-floppy --fs-uuid --set=root f53e0d06-294e-4caf-bac2-bb686ac89fa6
    fi
    knetbsd    /boot/memtest86+.elf
}
menuentry 'Memory test (memtest86+, serial console 115200)' {
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
      search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  f53e0d06-294e-4caf-bac2-bb686ac89fa6
    else
      search --no-floppy --fs-uuid --set=root f53e0d06-294e-4caf-bac2-bb686ac89fa6
    fi
    linux16    /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/30_uefi-firmware ###
### END /etc/grub.d/30_uefi-firmware ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f  ${config_directory}/custom.cfg ]; then
  source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###[/c]
Terminal output after following your directions:

[c]Disk /dev/sda: 160.0 GB, 160000000000 bytes
255 heads, 63 sectors/track, 19452 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks  Id System
/dev/sda1   *           1        2432    19530273+ 83 Linux
/dev/sda2            2432       19453   136716289   5 Extended
/dev/sda5            2432       18237   126953125  83 Linux
/dev/sda6           18237       19453     9762816  82 Linux swap

Disk /dev/sdb: 4127 MB, 4127194624 bytes
127 heads, 62 sectors/track, 1023 cylinders
Units = cylinders of 7874 * 512 = 4031488 bytes

   Device Boot      Start         End      Blocks  Id System
/dev/sdb1               1        1023     4027520   c Win95 FAT32 (LBA)
Partition 1 has different physical/logical endings:
     phys=(1023, 126, 62) logical=(1022, 126, 62)[/c]

Offline

#6 2017-08-29 16:05:45

Ceel
Administrator
Registered: 2011-04-02
Posts: 1,424

Re: Can't access hard drive

Hi Fair Peace,

No trace in your grub.cfg of SliTaz. This is not Grub2 that starts the PC.

You wrote:

When I rebooted (with the Hard Drive re-set as the 1st option in boot options and the CD and USBs all removed), it keeps booting only to SliTaz

but I can see in the output of [c]fdisk -l[/c]

[c]/dev/sdb1 1 1023 4027520 c Win95 FAT32 (LBA)[/c]

Seems a 4GB USB stick is connected. How did you start the computer?

And also

[c]/dev/sda1 * 1 2432 19530273+ 83 Linux[/c]

and

[c]/dev/sda5 2432 18237 126953125 83 Linux[/c]

Why 2 Linux partitions?

What happens with nothing connected to USB ports?

How does the start menu look like?

Offline

#7 2017-08-29 18:46:18

Fair Peace
Member
Registered: 2017-08-27
Posts: 16

Re: Can't access hard drive

Hi Ceel - sorry...you are right...I had added the USB back to get something off of it.  I just unplugged it again, reset the boot sequence to HDD 1st and took another copy of the grub.cfg.  I have posted it below. 

About the 2 partitions....that is a darn good question.  I noticed that a couple of weeks ago and am not sure what that is about.

By Start menu, I am thinking you mean when I boot-up.  It shows SliTaz Live as the first option and the a few other SliTaz options and then a Web something and I think Reboot is the bottom of the list.

Here is the Grub:

[c]#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  set have_grubenv=true
  load_env
fi
if [ "${next_entry}" ] ; then
   set default="${next_entry}"
   set next_entry=
   save_env next_entry
   set boot_once=true
else
   set default="0"
fi

if [ x"${feature_menuentry_id}" = xy ]; then
  menuentry_id_option="--id"
else
  menuentry_id_option=""
fi

export menuentry_id_option

if [ "${prev_saved_entry}" ]; then
  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}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}
function recordfail {
  set recordfail=1
  if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
}
function load_video {
  if [ x$feature_all_video_module = xy ]; then
    insmod all_video
  else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
  fi
}

if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  f53e0d06-294e-4caf-bac2-bb686ac89fa6
else
  search --no-floppy --fs-uuid --set=root f53e0d06-294e-4caf-bac2-bb686ac89fa6
fi
    font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=en_US
  insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
  set timeout=30
else
  if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=menu
    set timeout=10
  # Fallback normal timeout code in case the timeout_style feature is
  # unavailable.
  else
    set timeout=10
  fi
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=cyan/blue
set menu_color_highlight=white/blue
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
    set gfxpayload="${1}"
    if [ "${1}" = "keep" ]; then
        set vt_handoff=vt.handoff=7
    else
        set vt_handoff=
    fi
}
if [ "${recordfail}" != 1 ]; then
  if [ -e ${prefix}/gfxblacklist.txt ]; then
    if hwmatch ${prefix}/gfxblacklist.txt 3; then
      if [ ${match} = 0 ]; then
        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
menuentry 'wattOS-R10-32bit GNU/Linux' --class wattos_r10_32bit --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-f53e0d06-294e-4caf-bac2-bb686ac89fa6' {
    recordfail
    load_video
    gfxmode $linux_gfx_mode
    insmod gzio
    if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
      search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  f53e0d06-294e-4caf-bac2-bb686ac89fa6
    else
      search --no-floppy --fs-uuid --set=root f53e0d06-294e-4caf-bac2-bb686ac89fa6
    fi
        linux    /boot/vmlinuz-4.4.0-89-generic root=UUID=f53e0d06-294e-4caf-bac2-bb686ac89fa6 ro  quiet splash $vt_handoff
    initrd    /boot/initrd.img-4.4.0-89-generic
}
submenu 'Advanced options for wattOS-R10-32bit GNU/Linux' $menuentry_id_option 'gnulinux-advanced-f53e0d06-294e-4caf-bac2-bb686ac89fa6' {
    menuentry 'wattOS-R10-32bit GNU/Linux, with Linux 4.4.0-89-generic' --class wattos_r10_32bit --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-89-generic-advanced-f53e0d06-294e-4caf-bac2-bb686ac89fa6' {
        recordfail
        load_video
        gfxmode $linux_gfx_mode
        insmod gzio
        if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
        insmod part_msdos
        insmod ext2
        set root='hd0,msdos1'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  f53e0d06-294e-4caf-bac2-bb686ac89fa6
        else
          search --no-floppy --fs-uuid --set=root f53e0d06-294e-4caf-bac2-bb686ac89fa6
        fi
        echo    'Loading Linux 4.4.0-89-generic ...'
            linux    /boot/vmlinuz-4.4.0-89-generic root=UUID=f53e0d06-294e-4caf-bac2-bb686ac89fa6 ro  quiet splash $vt_handoff
        echo    'Loading initial ramdisk ...'
        initrd    /boot/initrd.img-4.4.0-89-generic
    }
    menuentry 'wattOS-R10-32bit GNU/Linux, with Linux 4.4.0-89-generic (recovery mode)' --class wattos_r10_32bit --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-89-generic-recovery-f53e0d06-294e-4caf-bac2-bb686ac89fa6' {
        recordfail
        load_video
        insmod gzio
        if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
        insmod part_msdos
        insmod ext2
        set root='hd0,msdos1'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  f53e0d06-294e-4caf-bac2-bb686ac89fa6
        else
          search --no-floppy --fs-uuid --set=root f53e0d06-294e-4caf-bac2-bb686ac89fa6
        fi
        echo    'Loading Linux 4.4.0-89-generic ...'
            linux    /boot/vmlinuz-4.4.0-89-generic root=UUID=f53e0d06-294e-4caf-bac2-bb686ac89fa6 ro recovery nomodeset
        echo    'Loading initial ramdisk ...'
        initrd    /boot/initrd.img-4.4.0-89-generic
    }
    menuentry 'wattOS-R10-32bit GNU/Linux, with Linux 4.4.0-87-generic' --class wattos_r10_32bit --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-87-generic-advanced-f53e0d06-294e-4caf-bac2-bb686ac89fa6' {
        recordfail
        load_video
        gfxmode $linux_gfx_mode
        insmod gzio
        if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
        insmod part_msdos
        insmod ext2
        set root='hd0,msdos1'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  f53e0d06-294e-4caf-bac2-bb686ac89fa6
        else
          search --no-floppy --fs-uuid --set=root f53e0d06-294e-4caf-bac2-bb686ac89fa6
        fi
        echo    'Loading Linux 4.4.0-87-generic ...'
            linux    /boot/vmlinuz-4.4.0-87-generic root=UUID=f53e0d06-294e-4caf-bac2-bb686ac89fa6 ro  quiet splash $vt_handoff
        echo    'Loading initial ramdisk ...'
        initrd    /boot/initrd.img-4.4.0-87-generic
    }
    menuentry 'wattOS-R10-32bit GNU/Linux, with Linux 4.4.0-87-generic (recovery mode)' --class wattos_r10_32bit --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-87-generic-recovery-f53e0d06-294e-4caf-bac2-bb686ac89fa6' {
        recordfail
        load_video
        insmod gzio
        if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
        insmod part_msdos
        insmod ext2
        set root='hd0,msdos1'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  f53e0d06-294e-4caf-bac2-bb686ac89fa6
        else
          search --no-floppy --fs-uuid --set=root f53e0d06-294e-4caf-bac2-bb686ac89fa6
        fi
        echo    'Loading Linux 4.4.0-87-generic ...'
            linux    /boot/vmlinuz-4.4.0-87-generic root=UUID=f53e0d06-294e-4caf-bac2-bb686ac89fa6 ro recovery nomodeset
        echo    'Loading initial ramdisk ...'
        initrd    /boot/initrd.img-4.4.0-87-generic
    }
    menuentry 'wattOS-R10-32bit GNU/Linux, with Linux 4.4.0-83-generic' --class wattos_r10_32bit --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-83-generic-advanced-f53e0d06-294e-4caf-bac2-bb686ac89fa6' {
        recordfail
        load_video
        gfxmode $linux_gfx_mode
        insmod gzio
        if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
        insmod part_msdos
        insmod ext2
        set root='hd0,msdos1'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  f53e0d06-294e-4caf-bac2-bb686ac89fa6
        else
          search --no-floppy --fs-uuid --set=root f53e0d06-294e-4caf-bac2-bb686ac89fa6
        fi
        echo    'Loading Linux 4.4.0-83-generic ...'
            linux    /boot/vmlinuz-4.4.0-83-generic root=UUID=f53e0d06-294e-4caf-bac2-bb686ac89fa6 ro  quiet splash $vt_handoff
        echo    'Loading initial ramdisk ...'
        initrd    /boot/initrd.img-4.4.0-83-generic
    }
    menuentry 'wattOS-R10-32bit GNU/Linux, with Linux 4.4.0-83-generic (recovery mode)' --class wattos_r10_32bit --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-83-generic-recovery-f53e0d06-294e-4caf-bac2-bb686ac89fa6' {
        recordfail
        load_video
        insmod gzio
        if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
        insmod part_msdos
        insmod ext2
        set root='hd0,msdos1'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  f53e0d06-294e-4caf-bac2-bb686ac89fa6
        else
          search --no-floppy --fs-uuid --set=root f53e0d06-294e-4caf-bac2-bb686ac89fa6
        fi
        echo    'Loading Linux 4.4.0-83-generic ...'
            linux    /boot/vmlinuz-4.4.0-83-generic root=UUID=f53e0d06-294e-4caf-bac2-bb686ac89fa6 ro recovery nomodeset
        echo    'Loading initial ramdisk ...'
        initrd    /boot/initrd.img-4.4.0-83-generic
    }
    menuentry 'wattOS-R10-32bit GNU/Linux, with Linux 4.4.0-78-generic' --class wattos_r10_32bit --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-78-generic-advanced-f53e0d06-294e-4caf-bac2-bb686ac89fa6' {
        recordfail
        load_video
        gfxmode $linux_gfx_mode
        insmod gzio
        if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
        insmod part_msdos
        insmod ext2
        set root='hd0,msdos1'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  f53e0d06-294e-4caf-bac2-bb686ac89fa6
        else
          search --no-floppy --fs-uuid --set=root f53e0d06-294e-4caf-bac2-bb686ac89fa6
        fi
        echo    'Loading Linux 4.4.0-78-generic ...'
            linux    /boot/vmlinuz-4.4.0-78-generic root=UUID=f53e0d06-294e-4caf-bac2-bb686ac89fa6 ro  quiet splash $vt_handoff
        echo    'Loading initial ramdisk ...'
        initrd    /boot/initrd.img-4.4.0-78-generic
    }
    menuentry 'wattOS-R10-32bit GNU/Linux, with Linux 4.4.0-78-generic (recovery mode)' --class wattos_r10_32bit --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-78-generic-recovery-f53e0d06-294e-4caf-bac2-bb686ac89fa6' {
        recordfail
        load_video
        insmod gzio
        if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
        insmod part_msdos
        insmod ext2
        set root='hd0,msdos1'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  f53e0d06-294e-4caf-bac2-bb686ac89fa6
        else
          search --no-floppy --fs-uuid --set=root f53e0d06-294e-4caf-bac2-bb686ac89fa6
        fi
        echo    'Loading Linux 4.4.0-78-generic ...'
            linux    /boot/vmlinuz-4.4.0-78-generic root=UUID=f53e0d06-294e-4caf-bac2-bb686ac89fa6 ro recovery nomodeset
        echo    'Loading initial ramdisk ...'
        initrd    /boot/initrd.img-4.4.0-78-generic
    }
    menuentry 'wattOS-R10-32bit GNU/Linux, with Linux 4.4.0-72-generic' --class wattos_r10_32bit --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-72-generic-advanced-f53e0d06-294e-4caf-bac2-bb686ac89fa6' {
        recordfail
        load_video
        gfxmode $linux_gfx_mode
        insmod gzio
        if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
        insmod part_msdos
        insmod ext2
        set root='hd0,msdos1'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  f53e0d06-294e-4caf-bac2-bb686ac89fa6
        else
          search --no-floppy --fs-uuid --set=root f53e0d06-294e-4caf-bac2-bb686ac89fa6
        fi
        echo    'Loading Linux 4.4.0-72-generic ...'
            linux    /boot/vmlinuz-4.4.0-72-generic root=UUID=f53e0d06-294e-4caf-bac2-bb686ac89fa6 ro  quiet splash $vt_handoff
        echo    'Loading initial ramdisk ...'
        initrd    /boot/initrd.img-4.4.0-72-generic
    }
    menuentry 'wattOS-R10-32bit GNU/Linux, with Linux 4.4.0-72-generic (recovery mode)' --class wattos_r10_32bit --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-72-generic-recovery-f53e0d06-294e-4caf-bac2-bb686ac89fa6' {
        recordfail
        load_video
        insmod gzio
        if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
        insmod part_msdos
        insmod ext2
        set root='hd0,msdos1'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  f53e0d06-294e-4caf-bac2-bb686ac89fa6
        else
          search --no-floppy --fs-uuid --set=root f53e0d06-294e-4caf-bac2-bb686ac89fa6
        fi
        echo    'Loading Linux 4.4.0-72-generic ...'
            linux    /boot/vmlinuz-4.4.0-72-generic root=UUID=f53e0d06-294e-4caf-bac2-bb686ac89fa6 ro recovery nomodeset
        echo    'Loading initial ramdisk ...'
        initrd    /boot/initrd.img-4.4.0-72-generic
    }
    menuentry 'wattOS-R10-32bit GNU/Linux, with Linux 4.4.0-66-generic' --class wattos_r10_32bit --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-66-generic-advanced-f53e0d06-294e-4caf-bac2-bb686ac89fa6' {
        recordfail
        load_video
        gfxmode $linux_gfx_mode
        insmod gzio
        if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
        insmod part_msdos
        insmod ext2
        set root='hd0,msdos1'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  f53e0d06-294e-4caf-bac2-bb686ac89fa6
        else
          search --no-floppy --fs-uuid --set=root f53e0d06-294e-4caf-bac2-bb686ac89fa6
        fi
        echo    'Loading Linux 4.4.0-66-generic ...'
            linux    /boot/vmlinuz-4.4.0-66-generic root=UUID=f53e0d06-294e-4caf-bac2-bb686ac89fa6 ro  quiet splash $vt_handoff
        echo    'Loading initial ramdisk ...'
        initrd    /boot/initrd.img-4.4.0-66-generic
    }
    menuentry 'wattOS-R10-32bit GNU/Linux, with Linux 4.4.0-66-generic (recovery mode)' --class wattos_r10_32bit --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-66-generic-recovery-f53e0d06-294e-4caf-bac2-bb686ac89fa6' {
        recordfail
        load_video
        insmod gzio
        if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
        insmod part_msdos
        insmod ext2
        set root='hd0,msdos1'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  f53e0d06-294e-4caf-bac2-bb686ac89fa6
        else
          search --no-floppy --fs-uuid --set=root f53e0d06-294e-4caf-bac2-bb686ac89fa6
        fi
        echo    'Loading Linux 4.4.0-66-generic ...'
            linux    /boot/vmlinuz-4.4.0-66-generic root=UUID=f53e0d06-294e-4caf-bac2-bb686ac89fa6 ro recovery nomodeset
        echo    'Loading initial ramdisk ...'
        initrd    /boot/initrd.img-4.4.0-66-generic
    }
    menuentry 'wattOS-R10-32bit GNU/Linux, with Linux 4.4.0-64-generic' --class wattos_r10_32bit --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-64-generic-advanced-f53e0d06-294e-4caf-bac2-bb686ac89fa6' {
        recordfail
        load_video
        gfxmode $linux_gfx_mode
        insmod gzio
        if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
        insmod part_msdos
        insmod ext2
        set root='hd0,msdos1'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  f53e0d06-294e-4caf-bac2-bb686ac89fa6
        else
          search --no-floppy --fs-uuid --set=root f53e0d06-294e-4caf-bac2-bb686ac89fa6
        fi
        echo    'Loading Linux 4.4.0-64-generic ...'
            linux    /boot/vmlinuz-4.4.0-64-generic root=UUID=f53e0d06-294e-4caf-bac2-bb686ac89fa6 ro  quiet splash $vt_handoff
        echo    'Loading initial ramdisk ...'
        initrd    /boot/initrd.img-4.4.0-64-generic
    }
    menuentry 'wattOS-R10-32bit GNU/Linux, with Linux 4.4.0-64-generic (recovery mode)' --class wattos_r10_32bit --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-64-generic-recovery-f53e0d06-294e-4caf-bac2-bb686ac89fa6' {
        recordfail
        load_video
        insmod gzio
        if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
        insmod part_msdos
        insmod ext2
        set root='hd0,msdos1'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  f53e0d06-294e-4caf-bac2-bb686ac89fa6
        else
          search --no-floppy --fs-uuid --set=root f53e0d06-294e-4caf-bac2-bb686ac89fa6
        fi
        echo    'Loading Linux 4.4.0-64-generic ...'
            linux    /boot/vmlinuz-4.4.0-64-generic root=UUID=f53e0d06-294e-4caf-bac2-bb686ac89fa6 ro recovery nomodeset
        echo    'Loading initial ramdisk ...'
        initrd    /boot/initrd.img-4.4.0-64-generic
    }
    menuentry 'wattOS-R10-32bit GNU/Linux, with Linux 4.4.0-59-generic' --class wattos_r10_32bit --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-59-generic-advanced-f53e0d06-294e-4caf-bac2-bb686ac89fa6' {
        recordfail
        load_video
        gfxmode $linux_gfx_mode
        insmod gzio
        if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
        insmod part_msdos
        insmod ext2
        set root='hd0,msdos1'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  f53e0d06-294e-4caf-bac2-bb686ac89fa6
        else
          search --no-floppy --fs-uuid --set=root f53e0d06-294e-4caf-bac2-bb686ac89fa6
        fi
        echo    'Loading Linux 4.4.0-59-generic ...'
            linux    /boot/vmlinuz-4.4.0-59-generic root=UUID=f53e0d06-294e-4caf-bac2-bb686ac89fa6 ro  quiet splash $vt_handoff
        echo    'Loading initial ramdisk ...'
        initrd    /boot/initrd.img-4.4.0-59-generic
    }
    menuentry 'wattOS-R10-32bit GNU/Linux, with Linux 4.4.0-59-generic (recovery mode)' --class wattos_r10_32bit --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-59-generic-recovery-f53e0d06-294e-4caf-bac2-bb686ac89fa6' {
        recordfail
        load_video
        insmod gzio
        if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
        insmod part_msdos
        insmod ext2
        set root='hd0,msdos1'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  f53e0d06-294e-4caf-bac2-bb686ac89fa6
        else
          search --no-floppy --fs-uuid --set=root f53e0d06-294e-4caf-bac2-bb686ac89fa6
        fi
        echo    'Loading Linux 4.4.0-59-generic ...'
            linux    /boot/vmlinuz-4.4.0-59-generic root=UUID=f53e0d06-294e-4caf-bac2-bb686ac89fa6 ro recovery nomodeset
        echo    'Loading initial ramdisk ...'
        initrd    /boot/initrd.img-4.4.0-59-generic
    }
    menuentry 'wattOS-R10-32bit GNU/Linux, with Linux 4.4.0-36-generic' --class wattos_r10_32bit --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-36-generic-advanced-f53e0d06-294e-4caf-bac2-bb686ac89fa6' {
        recordfail
        load_video
        gfxmode $linux_gfx_mode
        insmod gzio
        if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
        insmod part_msdos
        insmod ext2
        set root='hd0,msdos1'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  f53e0d06-294e-4caf-bac2-bb686ac89fa6
        else
          search --no-floppy --fs-uuid --set=root f53e0d06-294e-4caf-bac2-bb686ac89fa6
        fi
        echo    'Loading Linux 4.4.0-36-generic ...'
            linux    /boot/vmlinuz-4.4.0-36-generic root=UUID=f53e0d06-294e-4caf-bac2-bb686ac89fa6 ro  quiet splash $vt_handoff
        echo    'Loading initial ramdisk ...'
        initrd    /boot/initrd.img-4.4.0-36-generic
    }
    menuentry 'wattOS-R10-32bit GNU/Linux, with Linux 4.4.0-36-generic (recovery mode)' --class wattos_r10_32bit --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-36-generic-recovery-f53e0d06-294e-4caf-bac2-bb686ac89fa6' {
        recordfail
        load_video
        insmod gzio
        if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
        insmod part_msdos
        insmod ext2
        set root='hd0,msdos1'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  f53e0d06-294e-4caf-bac2-bb686ac89fa6
        else
          search --no-floppy --fs-uuid --set=root f53e0d06-294e-4caf-bac2-bb686ac89fa6
        fi
        echo    'Loading Linux 4.4.0-36-generic ...'
            linux    /boot/vmlinuz-4.4.0-36-generic root=UUID=f53e0d06-294e-4caf-bac2-bb686ac89fa6 ro recovery nomodeset
        echo    'Loading initial ramdisk ...'
        initrd    /boot/initrd.img-4.4.0-36-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'
    if [ x$feature_platform_search_hint = xy ]; then
      search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  f53e0d06-294e-4caf-bac2-bb686ac89fa6
    else
      search --no-floppy --fs-uuid --set=root f53e0d06-294e-4caf-bac2-bb686ac89fa6
    fi
    knetbsd    /boot/memtest86+.elf
}
menuentry 'Memory test (memtest86+, serial console 115200)' {
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
      search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  f53e0d06-294e-4caf-bac2-bb686ac89fa6
    else
      search --no-floppy --fs-uuid --set=root f53e0d06-294e-4caf-bac2-bb686ac89fa6
    fi
    linux16    /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/30_uefi-firmware ###
### END /etc/grub.d/30_uefi-firmware ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f  ${config_directory}/custom.cfg ]; then
  source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###[/c]

Offline

#8 2017-08-30 06:24:24

Ceel
Administrator
Registered: 2011-04-02
Posts: 1,424

Re: Can't access hard drive

It shows SliTaz Live as the first option and the a few other SliTaz options and then a Web something and I think Reboot is the bottom of the list.

This is Syslinux that started the computer.

SliTaz's installer doesn't install Syslinux as bootloader but Grub4dos.

You are booting from a LiveCD/USB, I don't see another solution...

What happens when you start the computer with the LiveCD 4.0 in the CD reader, SliTaz 4.0 or still SliTaz 5.0?

Re-check boot order in setup.

Offline

#9 2017-08-30 15:26:47

Fair Peace
Member
Registered: 2017-08-27
Posts: 16

Re: Can't access hard drive

Hi Ceel - I never made the 5.0 cd as I could never get back into Watt to make it.  The CD I have is 4.0 and I am booting to 4.0.  I have verified the boot order and it is definitely SATA HD first.  I completely understand not seeing another solution....that is why I am so confused.  There is definitely no CD or USB in the machine.  If this is installed in RAM, can it somehow be booting from RAM?

Offline

#10 2017-08-30 17:16:50

Ceel
Administrator
Registered: 2011-04-02
Posts: 1,424

Re: Can't access hard drive

Hi Fair Peace,

I really don't understand how it is possible. If SliTaz was in RAM it would disappear when you switch off the computer.

There are 2 other possible ways:

[*]boot from web (PXE) but you'd see messages on the screen before to access to a first start menu

[*]boot from ISO file on your hard disk but this requires you've created an entry in grub.cfg...

According to your [c]fdisk -l[/c] only sda1 is bootable. You're going to do this:

[*]Do ?

Switch on the computer and press [F12] (it's generally this key); if your computer have the multiboot feature, you'll access to the multiboot menu and see the different devices on the screen. Note them and copy them in your next post.

Select the HDD and press [Enter]. Does the computer still boot in SliTaz?

[*] Whatever the distro you've booted in, open the file manager and for the 2 partitions you should be able to see, note the directory tree for /boot and /home

Offline

#11 2017-08-30 18:12:48

Fair Peace
Member
Registered: 2017-08-27
Posts: 16

Re: Can't access hard drive

Thanks for continuing to work with me on this.

F12:

Onboard SATA Hard Drive

ONboard or USB CD-ROM drive

Onboard or USB Floppy Drive

System Setup

Hard Drive Diagnostics

Boot to Utility Partition

Choose the HDD

Booted to SliTaz screen where I make a choice

Chose SliTaz Live

Chose a language

Chose a keyboard

Options in File Manager:

tux

desktop

130 gb volume

20 gb volume

/media

/mnt

The 130 gb volume is my drive that shows my files

The 20gb volume has boot and home in it.  I also see a folder called Slitaz in there.  And it has the same date as the boot folder.

Does that help?

Offline

#12 2017-08-30 19:36:39

Ceel
Administrator
Registered: 2011-04-02
Posts: 1,424

Re: Can't access hard drive

My understanding of your issue:

One day... you installed wattOS on the computer on which was already installed an other OS (Windows ?)

The wattOS's installer created an extended partition (130GB) for him keeping 20 GB for the initial OS on. And wattOS installed Grub2 and overwrote the MBR. You didn't see the old OS and you were a happy man smile

A few days ago, struggling to create a LiveUSB of SliTaz 4.0 you succeeded to do a LiveCD; or you thought... Did this Live boot on another computer?

But finally (I don't know how you did this) you've installed SliTaz 4.0 on the 20GB partition. The SliTaz's installer has overwritten the MBR and install its bootloader. WattOS does probably still exist on the 130GB partition.

To come back to wattOS you have to re-install Grub2 from the wattOS LiveCD. The best is you ask for on wattOS's forum.

But I'd like to confirm this. Please, boot SliTaz; in PCManFM, click on the 20GB partition to mount it. Press [F4] to open a terminal and become root. Intall tree:

[c]tazpkg recharge
tazpkg get-install tree
tree[/c]
Copy/paste the tree.

You can also have a look to the contain of the 130GB partition to confirm wattOS is on it.

EDIT: to avoid to have too long posts on the forum, you can paste texts in http://paste.slitaz.org/ . You'll obtain a link that you can post.

Offline

#13 2017-08-31 14:57:11

Fair Peace
Member
Registered: 2017-08-27
Posts: 16

Re: Can't access hard drive

Hi Ceel -

here is the results of tree:

root@slitaz:/home/tux# tree

.

|-- Desktop

|   |-- slitaz-doc.desktop

|

|-- Documents

|-- Images

|   `-- ASCII

|       |-- gnu-linux.txt

|       |-- gnu.txt

|       |-- tux-mini.txt

|       `-- tux.txt

`-- Music

5 directories, 6 files

Also, I find I am really liking the speed of Slitaz and am hoping I can get it to work once I get this other issue figured out.  4.0 was having issues with Midori connecting to most webpages.  I am still wanting to try 5.0.  Is it up to date or does it have issues as well?  I have been reading through the forum, but still wasn't clear on this.

Offline

#14 2017-08-31 20:48:59

Ceel
Administrator
Registered: 2011-04-02
Posts: 1,424

Re: Can't access hard drive

Hello Fair Peace,

Hmm, you forgot to select the 20GB partition before pressing [F4]...

Reading again your posts I think I understood where you've made a mistake. If my reasoning is good you

- see the orange menu of SliTaz 4.0 at boot and

- should have something like this at root of the 20GB partition.

Unfortunatly, this doesn't change anything, the MBR has been overwritten... sad

Concerning Midori, yes, its version in SliTaz 4.0 is really old and you can do anything with it. It is much better in SliTaz Rolling (5.0) and you can install Pale Moon that is a web browser based on Firefox but lighter that works well.

SliTaz 5.0 is stable on my computers; this is my main OS.

I am really liking the speed of Slitaz

Yes, that's why my old computers love SliTaz too smile

In your case, if what I think is verified, It's even more true because SliTaz runs in RAM

Offline

#15 2017-09-01 00:47:18

Fair Peace
Member
Registered: 2017-08-27
Posts: 16

Re: Can't access hard drive

oh man....I forgot the 20g part AND the paste bin.  I thought I was doing so well!

It sounds like you don't need to see the tree from 20g at this point as it is clear to you that I overwrote the MBR.  Is that right?  I got some suggestions from the good people at WattOS about how to possibly reinstall and I will work on that.  I would still like to try 5.0, but want to avoid this issue when I do.  Do you have any idea how I overwrote the MBR or how to prevent doing that? 

Also, I would like to be able to try out 5.0 from USB, but could not get that to work.  I read the other posts on here and it sounded like I need to make the USBLive from within Slitaz, is that right (I had made it with Unetbootin)?  Can It make a 5.0 from the 4.0 I currently have installed?  Would you prefer I start a new thread for this question?

Thanks for all your help and patience.

Offline

#16 2017-09-01 16:52:16

Ceel
Administrator
Registered: 2011-04-02
Posts: 1,424

Re: Can't access hard drive

Hi again,

oh man....I forgot the 20g part AND the paste bin.

No problem with it smile

Do you have any idea how I overwrote the MBR or how to prevent doing that?

Yes and yes.

[*]Yes 1: The tree I posted is the one of a LiveUSB. If the structure in your first partition looks like it (certainly only rootfs.gz instead rootfs 4-3-2-1 .gz in the /boot directory) this means that you've done a mistake not while creating the LiveCD but when creating the LiveUSB.

You indicated a wrong device (sda1 instead sdb1) to UNetbooting and this one, disciplined but stupid, done the job on the HD and overiden Grub2 with Extlinux

[*]Yes 2: Always identify your USB stick from a terminal (as root) with the command [c]fdisk -l[/c].

I would like to be able to try out 5.0 from USB, but could not get that to work.

Hm hm hm... wink

[*]With Unetbootin: download slitaz-rolling-core.iso

Don't ask to UNetbootin to dowload the ISO; if you choose "stable", UNetbootin will download slitaz-4.0.iso and if you choose "cooking", an outdated ISO. In both cases, UNetbootin won't be able to create any live with these ISO because they have 4 rootfs#.

[*]With SliTaz 4.0: very simple.

- download the ISO (link above);

- open a terminal as root;

- [c]fdisk -l[/c]

- [c]tazusb format /dev/sdX1[/c]

- [c]tazusb gen-iso2usb /path/to/slitaz-rolling-core.iso /dev/sdX1[/c] read this for more information

Offline

#17 2017-09-01 18:23:32

Fair Peace
Member
Registered: 2017-08-27
Posts: 16

Re: Can't access hard drive

oh holy heck!  I just ran Tree (which took a couple of minutes to roll out) and it is very long.  I can't figure out how to copy it all as terminal won't let me select anything beyond the top or the bottom of the screen.

I think I will just go with your assessment.  I am very surprised and a little embarassed that I made that error with Unetbootin.  I know better than that (apparently not...).  I will go through your fantastic instructions and try this tomorrow.  I will post back any questions or (hopefully) a message of success.

Thanks again!

Zak

Offline

#18 2017-09-01 18:43:26

Ceel
Administrator
Registered: 2011-04-02
Posts: 1,424

Re: Can't access hard drive

Forget the tree. Eventually, just look inside the /boot directory if you see one/some rootfs.gz.

I am very surprised and a little embarassed that I made that error with Unetbootin

You know, this is my biggest obsession when I work on my work computer. I've already done this error 5 years ago. Fortunatly, I had entered a bad syntax in the SliTaz's installer and it stopped.

2 years ago, I did it again... I don't know how Windows (7) is installed but it didn't broke anything. I found the bootloader on sda1 that is a hidden partition that windows uses to start but Windows still started normally.

You see, everybody can do it :-/

Offline

#19 2017-09-02 16:53:04

Fair Peace
Member
Registered: 2017-08-27
Posts: 16

Re: Can't access hard drive

Hi Ceel - boy am I on a steep learning curve!  I am using Sakura as was able to access root and format the USB.  However, when I was trying to figure out how to tell it where the file is, all the commands I know aren't working (cd, dir).  After playing with that for a while, I tried the Xterm and it appears to root me right at home/tux (where I saved the file).  So, I typed (because I can't figure out how to paste in Xterm) tazusb gen-iso2usb slitaz-rolling-core.iso /dev/sdb.  It said it was mounting, installing MBR, Setting as bootable, Mounting USB Target, Copying need files, Installing bootloader.  Then it says /dev/sdb: invalid media signature (not a FAT filesystem?)(I formatted as FAT32), the cp:can't stat '/media/cdrom/boot/isolinux/*.txt':no such file or directory and cp:can't stat '/media/cdrom/boot/isolinux/*.kbd':no such file or directory.  I typed all that out because I can't figure out how to copy from Xterm.  I usually use Ubuntu based systems, so I am learning a lot!

Can you tell what I did wrong?  Also, I noticed you recommended core rather than just rolling and I was curious about that.

Thanks!

Offline

#20 2017-09-02 18:53:36

Ceel
Administrator
Registered: 2011-04-02
Posts: 1,424

Re: Can't access hard drive

Hi Fair Peace,

You can't figure out how to paste in Xterm? Normal! It's not possible...

But commands are the same in Xterm or Sakura. [c]dir[/c] doesn't exist; this is a DOS command; in Linux it's [c]ls[/c]. Here is a link that will help you with some ccommands: http://doc.slitaz.org/en:handbook:commands

Normally, when you open Sakura, you are in /home/tux.

Don't worry about [c]cp:can't stat '/media/cdrom/boot/isolinux/*.txt':no such file or directory[/c] and [c]cp:can't stat '/media/cdrom/boot/isolinux/*.kbd':no such file or directory[/c] messages; it seems to me that is "normal".

But you wrote that you type [c]tazusb gen-iso2usb slitaz-rolling-core.iso /dev/sdb[/c]. If you didn't indicate the number of the partition (sdb1) you could have problems. If you really forgot it, format the stick again before starting again from the beginning.

core rather than just Rolling: this is when you use a third party tool (as UNetbootin) to do your Live because "just Rolling" has 4 files rootfs: rootfs4.gz, rootfs3.gz, rootfs2.gz and rootfs1.gz. This allows to boot in 4 ways: Base (console mode only), JustX, GTK only and core. UNetbootin and other Tools don't know installing this. Core has just rootfs.gz that "compiles" the 4 others. If you use [c]tazusb[/c], it doesn't matter.

Formatting your stick FAT32 is not bad but you'll have any persistence of the /home/tux directory.

Offline

#21 2017-09-04 18:58:39

Fair Peace
Member
Registered: 2017-08-27
Posts: 16

Re: Can't access hard drive

And the saga continues...

I did this twice to check my steps.  Everything seemed to go fine each time.  I then go to boot (tried from laptop and PC) and I get a message that says "vesamenu.c32: not a COM32R image" and then boot:.  When I have deen this on other Live USB, I type "live" after boot and all is well.  Not here.  I did a search on the forum, and it looks like I need to unzip the com32box and vesamenu32 files.  I am assuming I then put those on the USB in the syslinux folder....is that right?  It sounds like this happened because I made the USB with Slitaz 4.0.

Thanks!

Offline

#22 2017-09-04 20:51:28

Fair Peace
Member
Registered: 2017-08-27
Posts: 16

Re: Can't access hard drive

And....thanks for all the info about using the terminal.  It went much smoother this time.  You brought up a good point about dir being DOS...however, I could have sworn I had used it in other linux terminals.  I tested it today in a Mate terminal and it gave me the directory.  I was thinking all linux terminals worked the same, but clearly I am mistaken!

Offline

#23 2017-09-05 06:00:54

Ceel
Administrator
Registered: 2011-04-02
Posts: 1,424

Re: Can't access hard drive

[c]vesamenu.c32: not a COM32R image[/c]

It looks like if you don't have the good version of Syslinux installed on the stick.

Format it again using [c]tazusb format[/c]; choose ext2 or ext3 (default) as you want.

Then retry tazub to create the live.

Offline

#24 2017-09-05 18:13:14

Fair Peace
Member
Registered: 2017-08-27
Posts: 16

Re: Can't access hard drive

Hi Ceel - I tried it again using ext3 and TazUSB.  Same problem.  This was the problem I was having before and why I then went to creating the LiveCD.  I also tried making the USB with Unetbootin and using the Rolling Core ISO I had saved to my computer.  I got a Warning! No Configuration File Found message.  I am thinking I should just go ahead and make a live CD with the Rolling Core ISO as the vesamenu message was what I was getting before when I was trying to do the LiveUSB from Unetbootin (whether with unetbootin's options of distros or the downloaded 4.0).  I think it was during those multiple attempts that the 20g hard drive was somehow selected instead of the USB.  I just hate to waste a CD for a 50mb image.  As I am writing this, I am realizing that I can try another flash drive to see if I keep getting the same vesamenu problem.  I will do that, but I would also like to know if you have any other thoughts.  You don't think it is connected to the issue some people seemed to be having when trying to make the 5.0 LiveUSB from a 4.0 Live install?  That was what I was referring to in my previous post and they had said something about needing to unzip the contents of the 2.c32 files and put them somewhere.

Offline

#25 2017-09-05 22:17:49

Fair Peace
Member
Registered: 2017-08-27
Posts: 16

Re: Can't access hard drive

I should have posted the link.  Here is one of them http://forum.slitaz.org/topic/cannot-boot-live-usb#post-43971

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.018 seconds, 8 queries executed - Memory usage: 1.75 MiB (Peak: 1.84 MiB) ]