LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-09-2017, 03:59 PM   #1
BratPit
Member
 
Registered: Jan 2011
Posts: 210

Rep: Reputation: 49
Trouble with iso2usb script


Script stops at line 642

Quote:
tune2fs -c 0 -i 0 -m 0 ${FEAT_64BIT} ${TARGET}3
and exit with message:

Quote:
wrong filesystem option ^64bit
????
 
Old 10-09-2017, 04:37 PM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,053
Blog Entries: 14

Rep: Reputation: 1226Reputation: 1226Reputation: 1226Reputation: 1226Reputation: 1226Reputation: 1226Reputation: 1226Reputation: 1226Reputation: 1226
Somewhere the script is setting a variable called FEAT_64BIT to have the value ^64bit.

If you look at "man tune2fs" it tells you that when you preceded "feature" with a carat it means to remove that feature.

The error you're getting is saying the feature, 64bit, isn't valid. (Or it the script is treating the ^ as a literal character rather than allowing its special remove meaning to happen.)

Since tune2fs is designed for ext2/ext3/ext4 filesystems one possible issue is the filesystem itself is NOT one of those.

What does "tune2fs -l" on your target filesystem show?
 
Old 10-09-2017, 05:17 PM   #3
BratPit
Member
 
Registered: Jan 2011
Posts: 210

Original Poster
Rep: Reputation: 49
Here it is..

Quote:
[23:14:30 --> root in po]$ tune2fs -l
tune2fs 1.43.1 (08-Jun-2016)
Usage: tune2fs [-c max_mounts_count] [-e errors_behavior] [-f] [-g group]
[-i interval[d|m|w]] [-j] [-J journal_options] [-l]
[-m reserved_blocks_percent] [-o [^]mount_options[,...]]
[-p mmp_update_interval] [-r reserved_blocks_count] [-u user]
[-C mount_count] [-L volume_label] [-M last_mounted_dir]
[-O [^]feature[,...]] [-Q quota_options]
[-E extended-option[,...]] [-T last_check_time] [-U UUID]
[-I new_inode_size] [-z undo_file] device
 
Old 10-09-2017, 05:37 PM   #4
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 6,697

Rep: Reputation: 4020Reputation: 4020Reputation: 4020Reputation: 4020Reputation: 4020Reputation: 4020Reputation: 4020Reputation: 4020Reputation: 4020Reputation: 4020Reputation: 4020
Quote:
Originally Posted by BratPit View Post
Script stops at line 642 and exit with message:
????
Two lines above that line, try changing
Code:
FEAT_64BIT="-O '^64bit'"
to
Code:
FEAT_64BIT="-O ^64bit"
and tell me what happens then.
 
1 members found this post helpful.
Old 10-09-2017, 05:39 PM   #5
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,892
Blog Entries: 27

Rep: Reputation: 2183Reputation: 2183Reputation: 2183Reputation: 2183Reputation: 2183Reputation: 2183Reputation: 2183Reputation: 2183Reputation: 2183Reputation: 2183Reputation: 2183
Member response

Hi,

What distribution are you using with the script? You could refresh your understanding by reading Eric's blog entry; https://alien.slackbook.org/blog/tag/live/

Hope this helps.
Have fun & enjoy!
 
Old 10-09-2017, 06:30 PM   #6
BratPit
Member
 
Registered: Jan 2011
Posts: 210

Original Poster
Rep: Reputation: 49
Quote:
Originally Posted by Alien Bob View Post
Two lines above that line, try changing
Code:
FEAT_64BIT="-O '^64bit'"
to
Code:
FEAT_64BIT="-O ^64bit"
and tell me what happens then.
It helped install on USB, but I can not boot from USB .
Always restarting during load /GRUB/.

I also dd-ing iso to USB and in that way it works properly.

It have legacy boot not UEFI in BIOS.

SOLVED: I repeated install procedure once again and now works.

THX Eric.

Last edited by BratPit; 10-09-2017 at 07:14 PM.
 
Old 10-11-2017, 10:15 AM   #7
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,053
Blog Entries: 14

Rep: Reputation: 1226Reputation: 1226Reputation: 1226Reputation: 1226Reputation: 1226Reputation: 1226Reputation: 1226Reputation: 1226Reputation: 1226
Quote:
Originally Posted by BratPit View Post
Here it is..
[23:14:30 --> root in po]$ tune2fs -l"
You have to specify the target filesystem as I wrote (the "device" at end of line as shown in the usage output you got).

e.g. if your USB got recognized as /dev/sdh you'd run:

tune2fs -l /dev/sdh
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Liveslak iso2usb error dr.s Slackware 1 10-04-2017 05:05 AM
[SOLVED] Script trouble torito Linux - Newbie 10 06-08-2016 11:50 AM
Trouble with script gilad73 Linux - Newbie 8 07-30-2012 06:57 AM
Convert ksh script into bsh script trouble dan-e Linux - Newbie 1 05-09-2011 02:11 AM
Trouble with script and bc Freestone Linux - General 4 10-11-2006 07:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:02 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration